Permalink
Browse files

* added SNAPSHOT flag (excellent idea from Jamis Buck)

  • Loading branch information...
1 parent 78f95af commit ee4fc37858194c81840d5a1fbbbe9bd7dc19ba36 @weppos committed Jun 7, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 Rakefile
View
@@ -15,6 +15,9 @@ PKG_FILES = FileList.new("{lib,test}/**/*.rb") do |fl|
end
RUBYFORGE_PROJECT = 'activerecord-multiconditions'
+if ENV['SNAPSHOT'].to_i == 1
+ PKG_VERSION << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
+end
Echoe.new(PKG_NAME, PKG_VERSION) do |p|
p.author = "Simone Carletti"

0 comments on commit ee4fc37

Please sign in to comment.