Rakefile in backlog-0.10.1 vs Rakefile in backlog-0.10.2
- old
+ new
@@ -42,15 +42,16 @@
Rake::Task[:post_news].invoke
end
task :release_war do
Rake::Task['war:standalone:create'].invoke
+ war_pkg_file = "pkg/backlog.war"
if File.exists? 'backlog.war'
File.makedirs 'pkg'
- File.move 'backlog.war', "pkg/backlog-#{APP::VERSION}.war"
+ File.move 'backlog.war', war_pkg_file
end
- if File.exists? "pkg/backlog-#{APP::VERSION}.war"
+ if File.exists? war_pkg_file
rf = RubyForge.new
rf.login
- rf.add_file 'backlog', 'backlog', APP::VERSION, "pkg/backlog-#{APP::VERSION}.war"
+ rf.add_file 'backlog', 'backlog', APP::VERSION, war_pkg_file
end
-end
\ No newline at end of file
+end