Commit cb0bc1a7bd9fefeded6730002c6d360f0f1244c5

Authored by Rodrigo Souto
1 parent ae788bac

Showing commit diff before setting version on release script

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/release.rake
... ... @@ -154,7 +154,7 @@ EOF
154 154 sh "sed -i \"s/VERSION = '[^']*'/VERSION = '#{version_name}'/\" lib/noosfero.rb"
155 155 sh "dch --newversion #{version_name} --distribution #{distribution} --force-distribution '#{release_message}'"
156 156  
157   - puts
  157 + sh 'git diff debian/changelog lib/noosfero.rb'
158 158 if confirm("Commit version bump to #{version_name} on #{distribution} distribution")
159 159 sh 'git add debian/changelog lib/noosfero.rb'
160 160 sh "git commit -m 'Bumping version #{version_name}'"
... ...