ci: fix stamping for builds performed in CI (#45147)

Fixes the stamping for snapshot builds and the artifact deployment job.
Currently the stamped versions will have the `.with-local-changes` version
suffix given that we add a file to the Git repo that is just
needed for the CircleCI cache key computation.

PR Close #45147
This commit is contained in:
Paul Gschwendtner
2022-02-20 11:27:27 +01:00
committed by Jessica Janiuk
parent e01820c45f
commit e56472d3c2
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -188,6 +188,8 @@ commands:
steps:
- run:
name: Save month to file
# Note: Make sure this file is excluded in the `.gitignore` as otherwise the
# snapshot stamping would have the `-with-local-changes` suffix.
command: date +%Y-%m > month.txt
# Normally this would be an individual job instead of a command.