Skip to content
This repository was archived by the owner on Nov 26, 2020. It is now read-only.

Commit 0932671

Browse files
authored
Comment on 10 min interval
1 parent 4d8c809 commit 0932671

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

promote-release/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ fn main() {
4444
release: env::args().nth(2).unwrap(),
4545
secrets: t!(secrets.parse()),
4646
handle: Easy::new(),
47+
// For Nightly, this is running soon after midnight
48+
// so the date of 10 minutes ago is yesterday,
49+
// which likely matches the commit date of the latest commit on the master branch:
50+
// https://github.com/rust-lang/rust-central-station/pull/27
4751
date: output(Command::new("date").arg("--date=10 minutes ago").arg("+%Y-%m-%d"))
4852
.trim().to_string(),
4953
current_version: None,

0 commit comments

Comments
 (0)