Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/mspec.rake
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ namespace :mspec do

rsync dir + "/*", "mspec"

version = Dir.chdir(ENV['DIR']) { `git log --pretty=oneline -1`[0..7] }
version = Dir.chdir(ENV['DIR']) { `git log --pretty=oneline -1 --color=never`[0..7] }
sh "git add mspec/"
sh "git commit -m 'Updated MSpec source to #{version}.' mspec"
end

0 comments on commit 1142534

Please sign in to comment.