From fc9971b2bc5484504f68a52739506b66f63a349d Mon Sep 17 00:00:00 2001 From: Seb Duggan Date: Wed, 24 Jul 2024 16:20:10 +0100 Subject: [PATCH] PRESIDECMS-2912 Fix build date on snapshot build --- .github/workflows/snapshotbuild.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshotbuild.yml b/.github/workflows/snapshotbuild.yml index 86d71119c4..3d4a92fbf3 100644 --- a/.github/workflows/snapshotbuild.yml +++ b/.github/workflows/snapshotbuild.yml @@ -45,8 +45,9 @@ jobs: - name: Prepare files for release shell: bash run: | + DATE_BUILT=$(date) echo '{ "version":"$RELEASE_VERSION" }' > version.json && - echo "Built on: $( date )" > "Preside-$RELEASE_VERSION-$RELEASE_CATEGORY.txt" && + echo "Built on: $DATE_BUILT" > "Preside-$RELEASE_VERSION-$RELEASE_CATEGORY.txt" && mv box.json.published box.json - name: Inject version numbers