Skip to content

Commit

Permalink
fix check git
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Oct 14, 2014
1 parent 9e46c68 commit 5903a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/gem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end

task :check_git do
`git rev-parse --abbrev-ref HEAD`.chomp.strip == 'master' || abort("Can be released only from `master` branch")
`git remove | grep upstream`.chomp.strip == 'upstream' || abort("Can be released only with `upstream` remote")
`git remote | grep upstream`.chomp.strip == 'upstream' || abort("Can be released only with `upstream` remote")
end

def upload_gem(repo_uri, tarball_name)
Expand Down

0 comments on commit 5903a08

Please sign in to comment.