From cb0bc1a7bd9fefeded6730002c6d360f0f1244c5 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 28 May 2013 14:59:16 -0300 Subject: [PATCH] Showing commit diff before setting version on release script --- lib/tasks/release.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/release.rake b/lib/tasks/release.rake index 81ed708..dcbd9b3 100644 --- a/lib/tasks/release.rake +++ b/lib/tasks/release.rake @@ -154,7 +154,7 @@ EOF sh "sed -i \"s/VERSION = '[^']*'/VERSION = '#{version_name}'/\" lib/noosfero.rb" sh "dch --newversion #{version_name} --distribution #{distribution} --force-distribution '#{release_message}'" - puts + sh 'git diff debian/changelog lib/noosfero.rb' if confirm("Commit version bump to #{version_name} on #{distribution} distribution") sh 'git add debian/changelog lib/noosfero.rb' sh "git commit -m 'Bumping version #{version_name}'" -- libgit2 0.21.2