Every once in a while we have to /deploy packages on the same day we release a new Git for Windows version. For procedural reasons, this requires the sync workflows of the git-sdk-* repositories to be triggered so that they get the latest package updates, because it's actually the git-sdk-* files that are used to build the installer/PortableGit/etc.
In the same spirit as https://github.com/git-for-windows/gfw-helper-github-app/pull/40 verifies that release notes about new packages are only added once the respective packages have actually been deployed, let's also add a sanity check to /git-artifacts to compare the timestamp of the git-sdk-* HEAD commit with the one from the respective Pacman index file, and refuse to run if the latter is newer (because that indicates that a sync is still needed to update the former).
Every once in a while we have to
/deploy
packages on the same day we release a new Git for Windows version. For procedural reasons, this requires thesync
workflows of thegit-sdk-*
repositories to be triggered so that they get the latest package updates, because it's actually thegit-sdk-*
files that are used to build the installer/PortableGit/etc.In the same spirit as https://github.com/git-for-windows/gfw-helper-github-app/pull/40 verifies that release notes about new packages are only added once the respective packages have actually been deployed, let's also add a sanity check to
/git-artifacts
to compare the timestamp of thegit-sdk-*
HEAD commit with the one from the respective Pacman index file, and refuse to run if the latter is newer (because that indicates that async
is still needed to update the former).