You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2014/07/31 07:12:48 UTC

[34/50] git commit: Make it possible to override the staging date with an environment variable

Make it possible to override the staging date with an environment variable

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1537930 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/808594a7
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/808594a7
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/808594a7

Branch: refs/heads/master
Commit: 808594a74f3f7569587d1651fc596493240754b0
Parents: 8cbf73b
Author: Peter Donald <do...@apache.org>
Authored: Fri Nov 1 13:27:06 2013 +0000
Committer: Peter Donald <do...@apache.org>
Committed: Fri Nov 1 13:27:06 2013 +0000

----------------------------------------------------------------------
 rakelib/stage.rake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/808594a7/rakelib/stage.rake
----------------------------------------------------------------------
diff --git a/rakelib/stage.rake b/rakelib/stage.rake
index 25ca670..3082158 100644
--- a/rakelib/stage.rake
+++ b/rakelib/stage.rake
@@ -19,7 +19,7 @@ require 'digest/sha1'
 
 gpg_cmd = 'gpg2'
 
-STAGE_DATE = Time.now.strftime('%Y-%m-%d')
+STAGE_DATE = ENV['STAGE_DATE'] ||  Time.now.strftime('%Y-%m-%d')
 
 task 'prepare' do |task, args|
   gpg_arg = args.gpg || ENV['gpg']