Commit cb0bc1a7bd9fefeded6730002c6d360f0f1244c5
1 parent
ae788bac
Exists in
master
and in
28 other branches
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,7 +154,7 @@ EOF | ||
| 154 | sh "sed -i \"s/VERSION = '[^']*'/VERSION = '#{version_name}'/\" lib/noosfero.rb" | 154 | sh "sed -i \"s/VERSION = '[^']*'/VERSION = '#{version_name}'/\" lib/noosfero.rb" | 
| 155 | sh "dch --newversion #{version_name} --distribution #{distribution} --force-distribution '#{release_message}'" | 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 | if confirm("Commit version bump to #{version_name} on #{distribution} distribution") | 158 | if confirm("Commit version bump to #{version_name} on #{distribution} distribution") | 
| 159 | sh 'git add debian/changelog lib/noosfero.rb' | 159 | sh 'git add debian/changelog lib/noosfero.rb' | 
| 160 | sh "git commit -m 'Bumping version #{version_name}'" | 160 | sh "git commit -m 'Bumping version #{version_name}'" |