From d099253812a07a5472c9f66426e0fe86f8dd56b1 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 6 Dec 2023 15:58:26 +0100 Subject: [PATCH] fixed build nameing, v5 --- .gitea/workflows/build-appimage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-appimage.yaml b/.gitea/workflows/build-appimage.yaml index d5a765e..64c0d7d 100644 --- a/.gitea/workflows/build-appimage.yaml +++ b/.gitea/workflows/build-appimage.yaml @@ -20,7 +20,7 @@ jobs: shell: bash run: | echo "SHA_SHORT=${GITEA_SHA:7}" >> "$GITEA_ENV" - echo "YEAR=$(date '+%Y')" >> "$GITEA_ENV" + echo "YEAR=$(python3 -c \"import datetime;print(datetime.date.today().year)\")" >> "$GITEA_ENV" - name: Build AppImage run: | eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200)