Commit 176bce4bbb222c0cf263e45a76577d3286dc8358
1 parent
75687727
Exists in
master
and in
29 other branches
release tasks: user $version instead of Noosfero::VERSION
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
lib/tasks/release.rake
... | ... | @@ -224,7 +224,7 @@ EOF |
224 | 224 | |
225 | 225 | desc 'Build Debian packages' |
226 | 226 | task :debian_packages => :package do |
227 | - target = "pkg/noosfero-#{Noosfero::VERSION}" | |
227 | + target = "pkg/noosfero-#{$version}" | |
228 | 228 | |
229 | 229 | # base pre-config |
230 | 230 | mkdir "#{target}/tmp" |
... | ... | @@ -240,7 +240,7 @@ EOF |
240 | 240 | desc 'Test Debian package' |
241 | 241 | task 'debian:test' => :debian_packages do |
242 | 242 | Dir.chdir 'pkg' do |
243 | - rm_rf "noosfero-#{Noosfero::VERSION}" | |
243 | + rm_rf "noosfero-#{$version}" | |
244 | 244 | sh 'apt-ftparchive packages . > Packages' |
245 | 245 | sh 'apt-ftparchive release . > Release' |
246 | 246 | end | ... | ... |