1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Modify deploy task's git details

Hopefully avoid the bungle experienced with the last release. Use the
common remote name (origin) and provide a ref (master) so Git doesn't
buck and bray.
This commit is contained in:
Trevor Bramble 2015-06-30 20:07:51 -07:00
parent b0255f4c2d
commit ddf527d083

View file

@ -67,8 +67,8 @@ task :release => :gemspec do
git commit --allow-empty -a -m '#{Sinatra::Contrib::VERSION} release' &&
git tag -s v#{Sinatra::Contrib::VERSION} -m '#{Sinatra::Contrib::VERSION} release' &&
git tag -s #{Sinatra::Contrib::VERSION} -m '#{Sinatra::Contrib::VERSION} release' &&
git push && (git push sinatra || true) &&
git push --tags && (git push sinatra --tags || true)
git push && (git push origin master || true) &&
git push --tags && (git push origin --tags || true)
SH
end