Skip to content

Commit

Permalink
[dm-more] Update git status to pipe output to /dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Dec 12, 2009
1 parent ade5abd commit c5bb9d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Expand Up @@ -105,8 +105,10 @@ task :release => [ :gem ] do
gem_paths.each do |dir|
Dir.chdir(dir) { rake 'release' }

# workaround Jeweler bug
system 'git status'
# workaround Jeweler bug. it was identifying the repo as
# in a dirty state, but it is not. running git status clears
# the dirty state.
system 'git status >/dev/null'
end

sh "#{RUBY} -S gem push gem/dm-more-#{gem_spec.version}.gem"
Expand Down

0 comments on commit c5bb9d3

Please sign in to comment.