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:
parent
b0255f4c2d
commit
ddf527d083
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue