Skip to content

Commit

Permalink
#15 rultor cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 10, 2019
1 parent abf89d9 commit 6886e04
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
assets:
rubygems.yml: yegor256/home#assets/rubygems.yml
s3cfg: yegor256/home#assets/s3cfg
install: |
export GEM_HOME=~/.ruby
export GEM_PATH=$GEM_HOME:$GEM_PATH
sudo apt-get -y update
sudo gem install pdd -v 0.20.5
bundle install
pdd -f /dev/null
release:
script: |-
bundle install
rake
bundle exec rake
rm -rf *.gem
sed -i "s/1\.0\.snapshot/${tag}/g" lib/version.rb
git add lib/version.rb
git commit -m "version set to ${tag}"
gem build jekyll-plantuml.gemspec
chmod 0600 ../rubygems.yml
gem push *.gem --config-file ../rubygems.yml
commanders:
- yegor256
deploy:
script: bundle
architect:
- yegor256
- davvd
merge:
commanders: []
script: |-
bundle exec rake
deploy:
script: |-
echo "There is nothing to deploy"
exit -1

0 comments on commit 6886e04

Please sign in to comment.