diff options
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-x | activerecord/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index cbeaedb231..4a5fc0220f 100755 --- a/activerecord/Rakefile +++ b/activerecord/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 = 'activerecord' -PKG_VERSION = '1.11.1' + PKG_BUILD +PKG_VERSION = ActiveRecord::Version::STRING + PKG_BUILD PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" RELEASE_NAME = "REL #{PKG_VERSION}" |