Skip to content

Commit

Permalink
Fix package version for rc tags (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif authored Sep 7, 2023
1 parent 77d0094 commit 9c2ff3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ⏬
Expand Down

0 comments on commit 9c2ff3c

Please sign in to comment.