From c7855a74f4687bf7b531fd0bee32ba1376ce4ce6 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 6 Dec 2023 16:04:41 +0100 Subject: [PATCH] fixed build nameing, v6 --- .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 64c0d7d..7d6759f 100644 --- a/.gitea/workflows/build-appimage.yaml +++ b/.gitea/workflows/build-appimage.yaml @@ -19,7 +19,7 @@ jobs: - name: Declare some variables shell: bash run: | - echo "SHA_SHORT=${GITEA_SHA:7}" >> "$GITEA_ENV" + echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> "$GITEA_ENV" echo "YEAR=$(python3 -c \"import datetime;print(datetime.date.today().year)\")" >> "$GITEA_ENV" - name: Build AppImage run: |