.soyuz.yml in hubstats-0.2.2 vs .soyuz.yml in hubstats-0.2.3
- old
+ new
@@ -1,14 +1,13 @@
defaults:
- deploy_cmds:
- - gem build hubstats.gemspec
- - gem push *.gem
+ deploy_cmd: gem push *.gem
before_deploy_cmds:
- /usr/local/bin/op tag-release
- - sed -i '' -e "s/\".*/\"$(git tag | tail -1 | sed s/v//)\"/" lib/hubstats/version.rb
+ - sed -i "" -e "s/\".*/\"$(git tag| sort -n -t. -k1,1 -k2,2 -k3,3 | tail -1 | sed s/v//)\"/" lib/hubstats/version.rb
- git add lib/hubstats/version.rb
- git commit -m "Version Bump" && git push
+ - gem build hubstats.gemspec
after_deploy_cmds:
- rm *.gem
environments:
-
- rubygems: {}
\ No newline at end of file
+ rubygems: {}