xforge 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/xforge.rb +1 -0
- metadata +1 -1
data/Rakefile
CHANGED
@@ -29,7 +29,7 @@ rd = Rake::RDocTask.new("rdoc") { |rdoc|
|
|
29
29
|
# Create a task that will package the Rake software into distributable
|
30
30
|
# tar, zip and gem files.
|
31
31
|
|
32
|
-
PKG_VERSION = "0.1"
|
32
|
+
PKG_VERSION = "0.1.1"
|
33
33
|
PKG_FILES = FileList[
|
34
34
|
'[A-Z]*',
|
35
35
|
'lib/**/*.rb',
|
@@ -108,6 +108,6 @@ task :release => [:gem] do
|
|
108
108
|
xf.user_name = ENV['RUBYFORGE_USER']
|
109
109
|
xf.password = ENV['RUBYFORGE_PASSWORD']
|
110
110
|
xf.files = release_files.to_a
|
111
|
-
xf.release_name = "XForge
|
111
|
+
xf.release_name = "XForge #{PKG_VERSION}"
|
112
112
|
end
|
113
113
|
end
|
data/lib/xforge.rb
CHANGED
@@ -103,6 +103,7 @@ module XForge
|
|
103
103
|
#
|
104
104
|
def release(filenames, release_name, processor=Processor::ANY, release_notes="", release_changes="", preformatted=true)
|
105
105
|
release_date = Time.now.strftime("%Y-%m-%d %H:%M")
|
106
|
+
release_id = nil
|
106
107
|
|
107
108
|
xfiles = filenames.collect{|filename| XFile.new(filename)}
|
108
109
|
xfiles.each_with_index do |xfile, i|
|