pulsar/.github
DeeDeeG 06afb505d9 CI: Use commit date as the Rolling version number
The Rolling version number was previously set as the result of a
`date` command, implicitly using server time (as of the time the CI
build was running, in the time zone of the server), meaning the
version number could be different based on server timezone across many
regions the CI could happen to run in, based on the timing of re-runs,
or change due to slight differences in how runners were allocated to
run each job.

Most notably, this could lead to the different OS/arch builds having
different version numbers from the same overall CI build, since they
ran in separate tasks!

Now that we have multiple CI providers building the editor binaries,
we have rather drastically different timing of these runs, and the
version numbers are likely never going to sync up.

---

By setting the version number from the commit date, always in UTC,
Rolling versions on Cirrus should now always sync up
with an existing version as published from GitHub Actions.

This also means we can check the commit dates of recent commits to
`master` branch in order to know which exact commit a given Rolling
release version corresponds to.

---

This idea was worked on by a few people, and also thanks to this
StackOverflow answer:
https://stackoverflow.com/questions/21363187/git-show-dates-in-utc

Co-authored-by: Meadowsys <blazeykirin@gmail.com>
Co-authored-by: confused-Techie <dev@lhbasics.com>
2023-09-14 01:58:16 -04:00
..
workflows CI: Use commit date as the Rolling version number 2023-09-14 01:58:16 -04:00
lock.yml 🔥 Use organization level templates 2019-06-13 14:31:17 -07:00
move.yml Enable move-issues bot 2018-04-20 15:45:38 -07:00
no-response.yml Set probot/no-response days-until-close to 28 days 2018-09-28 10:30:42 -04:00
pull.yml pull bot: mergeUnstable: true 2020-09-11 10:21:30 -05:00
renovate.json Add ignorePaths to renovate config 2023-08-27 00:02:35 -07:00
stale.yml Add indentation to force YAML to leave certain lines the way they are 2017-10-07 12:59:59 -07:00