diff --git a/.gitea/workflows/build-aarch64.yaml b/.gitea/workflows/build-aarch64.yaml index bc24058..d3d05ae 100644 --- a/.gitea/workflows/build-aarch64.yaml +++ b/.gitea/workflows/build-aarch64.yaml @@ -26,10 +26,11 @@ jobs: - name: Get parameters id: vars run: | + shorthash="$(cd chawan && git rev-parse --short HEAD)" echo "upstream=$(cd chawan && git rev-parse HEAD)" | tee -a $GITHUB_OUTPUT - echo "shorthash=$(cd chawan && git rev-parse --short HEAD)" | tee -a $GITHUB_OUTPUT + echo "shorthash=$shorthash" | tee -a $GITHUB_OUTPUT echo "imagename=Chawan-aarch64-$(cd chawan && git rev-parse --short HEAD).AppImage" | tee -a $GITHUB_OUTPUT - echo "packageurl=https://git.lerch.org/api/packages/lobo/generic/chawan-appimage/$(git rev-parse --short HEAD)/Chawan-aarch64-$(cd chawan && git rev-parse --short HEAD).AppImage" | tee -a $GITHUB_OUTPUT + echo "packageurl=https://git.lerch.org/api/packages/lobo/generic/chawan-appimage/${shorthash}/Chawan-aarch64-${shorthash}.AppImage" | tee -a $GITHUB_OUTPUT - name: Check for built package id: package run: | diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a056f20..57fd90f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -21,10 +21,11 @@ jobs: - name: Get parameters id: vars run: | + shorthash="$(cd chawan && git rev-parse --short HEAD)" echo "upstream=$(cd chawan && git rev-parse HEAD)" | tee -a $GITHUB_OUTPUT - echo "shorthash=$(cd chawan && git rev-parse --short HEAD)" | tee -a $GITHUB_OUTPUT + echo "shorthash=$shorthash" | tee -a $GITHUB_OUTPUT echo "imagename=Chawan-x86_64-$(cd chawan && git rev-parse --short HEAD).AppImage" | tee -a $GITHUB_OUTPUT - echo "packageurl=https://git.lerch.org/api/packages/lobo/generic/chawan-appimage/$(git rev-parse --short HEAD)/Chawan-x86_64-$(cd chawan && git rev-parse --short HEAD).AppImage" | tee -a $GITHUB_OUTPUT + echo "packageurl=https://git.lerch.org/api/packages/lobo/generic/chawan-appimage/${shorthash}/Chawan-x86_64-${shorthash}.AppImage" | tee -a $GITHUB_OUTPUT - name: Check for built package id: package run: |