From 68a322005d367981ba72c6a667c16dd171803869 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Sun, 9 Oct 2005 21:15:45 +0000 Subject: Add versioning convention from SwitchTower to all Rails components. Add --version, -v option to the 'rails' command. Closes #1840. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'activesupport/Rakefile') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 7ecfd9cadf..25a2124325 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -2,10 +2,11 @@ require 'rake/testtask' require 'rake/rdoctask' 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 = 'activesupport' -PKG_VERSION = '1.1.1' + PKG_BUILD +PKG_VERSION = ActiveSupport::Version::STRING + PKG_BUILD PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" RELEASE_NAME = "REL #{PKG_VERSION}" @@ -180,4 +181,4 @@ task :release => [:package] do first_file = false end end -end \ No newline at end of file +end -- cgit v1.2.3