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
1 changed files with 2 additions and 2 deletions

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