Skip to content

Commit 8955f23

Browse files
committed
make rake task date configurable
1 parent 0279ce5 commit 8955f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def force_update(branch)
491491
end
492492

493493
def update_files_in_repos(purpose, suffix='')
494-
branch_name = "update-#{purpose.gsub ' ', '-'}-#{Date.today.iso8601}-for-#{BASE_BRANCH}"
494+
branch_name = "update-#{purpose.gsub ' ', '-'}-#{ENV.fetch('BRANCH_DATE',Date.today.iso8601)}-for-#{BASE_BRANCH}"
495495

496496
each_project_with_common_build do |proj|
497497
assert_clean_git_status(proj)

0 commit comments

Comments
 (0)