From 9c2ff3c884dd533196e418e04588671f360f8b28 Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Thu, 7 Sep 2023 14:14:47 +0200 Subject: [PATCH] Fix package version for rc tags (#184) --- .github/workflows/build-check-install.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index d3383d6d1..6062114a9 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -813,13 +813,10 @@ jobs: - name: Checkout repo 🛎 uses: actions/checkout@v3 - - name: Set release version and package build filename 📐 - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV - - name: Get package build filename 📦 run: | - echo "PKGBUILD=$(echo $(awk -F: '/Package:/{gsub(/[ ]+/,"") ; print $2}' DESCRIPTION))_\ - ${{ env.RELEASE_VERSION }}.tar.gz" >> $GITHUB_ENV + echo "PKGBUILD=$(echo $(awk -F: '/Package:/{gsub(/[ ]+/,"") ; print $2}' DESCRIPTION)_"\ + "$(awk -F: '/Version:/{gsub(/[ ]+/,"") ; print $2}' DESCRIPTION).tar.gz)" >> $GITHUB_ENV shell: bash - name: Download artifact ⏬