Fix staging check against git changes
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/c78aaae2 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/c78aaae2 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/c78aaae2 Branch: refs/heads/master Commit: c78aaae20425fe7b8e0435ec6051db3c496eb6a0 Parents: 0038719 Author: Peter Donald <[email protected]> Authored: Sat May 3 14:51:43 2014 +1000 Committer: Peter Donald <[email protected]> Committed: Sat May 3 14:51:43 2014 +1000 ---------------------------------------------------------------------- rakelib/stage.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/c78aaae2/rakelib/stage.rake ---------------------------------------------------------------------- diff --git a/rakelib/stage.rake b/rakelib/stage.rake index 742e0c1..e4ef63a 100644 --- a/rakelib/stage.rake +++ b/rakelib/stage.rake @@ -43,7 +43,7 @@ task 'prepare' do |task, args| lambda do puts 'Checking there are no local changes ... ' git = `git status -s` - fail "Cannot release unless all local changes are in Git:\n#{git}" + fail "Cannot release unless all local changes are in Git:\n#{git}" unless git.empty? puts '[X] There are no local changes, everything is in source control' end.call
