Commit df124daecf7aeb46d651ab3888f5a682f7e4b3ab

Authored by Antonio Terceiro
1 parent 208c2e85

Only tag if the tarball was properly created

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/release.rake
@@ -58,8 +58,8 @@ EOF @@ -58,8 +58,8 @@ EOF
58 58
59 desc 'prepares a release tarball' 59 desc 'prepares a release tarball'
60 task :release => [ :check_tag, 'noosfero:doc:translate', 'noosfero:error-pages:translate', :authors, :check_repo ] do 60 task :release => [ :check_tag, 'noosfero:doc:translate', 'noosfero:error-pages:translate', :authors, :check_repo ] do
61 - sh "git tag #{version}"  
62 sh 'rake -f Rakefile.pkg' 61 sh 'rake -f Rakefile.pkg'
  62 + sh "git tag #{version}"
63 puts "I: please upload the tarball to the website!" 63 puts "I: please upload the tarball to the website!"
64 puts "I: please push the tag for version #{version} that was just created!" 64 puts "I: please push the tag for version #{version} that was just created!"
65 end 65 end