Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Modify deploy task's git details
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TrevorBramble committed Jul 1, 2015
1 parent bd84e91 commit 7a2ad82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7a2ad82

Please sign in to comment.