Skip to content

Commit

Permalink
[build] Enabling more than one "nightly" per day
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Feb 18, 2024
1 parent 83656d6 commit df7e464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ namespace :py do
old_version = python_version
new_version = nil
if bump_nightly && old_version.include?('nightly')
new_version = old_version.gsub('nightly', "#{Time.now.strftime("%Y%m%d")}")
new_version = old_version.gsub('nightly', "#{Time.now.strftime("%Y%m%d%H%M")}")
else
new_version = updated_version(old_version, arguments[:version])
new_version += '.nightly' unless old_version.include?('nightly')
Expand Down

0 comments on commit df7e464

Please sign in to comment.