aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/Rakefile')
-rwxr-xr-xactionmailer/Rakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile
index a6bca5e6b0..746e15f808 100755
--- a/actionmailer/Rakefile
+++ b/actionmailer/Rakefile
@@ -5,10 +5,11 @@ require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
require 'rake/contrib/rubyforgepublisher'
+require File.join(File.dirname(__FILE__), 'lib', 'version')
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'actionmailer'
-PKG_VERSION = '1.0.1' + PKG_BUILD
+PKG_VERSION = ActionMailer::Version::STRING + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
RELEASE_NAME = "REL #{PKG_VERSION}"
@@ -194,4 +195,4 @@ task :release => [:package] do
first_file = false
end
end
-end \ No newline at end of file
+end