.soyuz.yml in octopolo-1.0.0 vs .soyuz.yml in octopolo-1.0.1
- old
+ new
@@ -1,9 +1,9 @@
defaults:
deploy_cmd: gem push *.gem
before_deploy_cmds:
- /usr/local/bin/op tag-release
- - sed -i "" -e "s/\".*/\"$(git tag| sort -n -t. -k1,1 -k2,2 -k3,3 | tail -1 | sed s/v//)\"/" lib/octopolo/version.rb
+ - sed -i "" -e "s/\".*/\"$(git tag | sed s/v// | sort -n -t. -k1,1 -k2,2 -k3,3 | tail -1)\"/" lib/octopolo/version.rb
- git add lib/octopolo/version.rb
- git commit -m "Version Bump" && git push
- gem build octopolo.gemspec
after_deploy_cmds:
- rm *.gem