From 5567289f78243f8c7d109ba45b014f79550bc960 Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Thu, 21 Mar 2024 15:06:40 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Documentation=20of=20$EPOCHSECON?= =?UTF-8?q?DS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 51d547d..d042fda 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ To release a new version: 6. Run `git checkout main` (Or whichever branch is considered `trunk`, e.g. `master`) 7. Run `git pull origin main` to ensure you will release the latest trunk code. 8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums - a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS` + a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS` (you'll need the zsh/datetime module, if running zsh) 9. Run `bundle exec rake build` 10. Run [`bin/checksums`](https://github.com/rubygems/guides/pull/325) to create SHA-256 and SHA-512 checksums a. Checksums will be committed automatically by the script, but not pushed