Commit affcaaea70e172ea1e886e695c50921f2f831f37

Authored by Antonio Terceiro
1 parent 48942667

release: use git diff --color

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/release.rake
@@ -160,7 +160,7 @@ EOF @@ -160,7 +160,7 @@ EOF
160 distribution = `dpkg-parsechangelog | sed '/Distribution:/!d; s/^.*:\s*//'`.strip 160 distribution = `dpkg-parsechangelog | sed '/Distribution:/!d; s/^.*:\s*//'`.strip
161 sh "dch --newversion #{new_version} --distribution #{distribution} --force-distribution '#{release_message}'" 161 sh "dch --newversion #{new_version} --distribution #{distribution} --force-distribution '#{release_message}'"
162 162
163 - sh 'git diff debian/changelog lib/noosfero/version.rb' 163 + sh 'git diff --color debian/changelog lib/noosfero/version.rb'
164 if confirm("Commit version bump to #{new_version} on #{target} distribution") 164 if confirm("Commit version bump to #{new_version} on #{target} distribution")
165 sh 'git add debian/changelog lib/noosfero/version.rb' 165 sh 'git add debian/changelog lib/noosfero/version.rb'
166 sh "git commit -m 'Bumping version #{new_version}'" 166 sh "git commit -m 'Bumping version #{new_version}'"