Fix versioning
Build / build_arch (push) Successful in 33s
Build / publish-release (push) Failing after 12s

This commit is contained in:
2026-05-13 11:37:39 +02:00
parent c3cffd35b7
commit bc023af374
+8 -1
View File
@@ -16,6 +16,13 @@ jobs:
- name: Makepkg
run: |
cd external && makepkg -s --noconfirm
- name: Extract package version
id: pkg_version
run: |
PKGFILE=$(ls external/*.pkg.tar.zst)
PKGVERSION=$(basename "$PKGFILE" | sed 's/^.*-\([0-9.]*\)-x86_64\.pkg\.tar\.zst$/\1/')
echo "PKGVERSION=$PKGVERSION" >> $GITHUB_ENV
echo "version=$PKGVERSION" >> $GITHUB_OUTPUT
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
@@ -34,7 +41,7 @@ jobs:
uses: https://github.com/softprops/action-gh-release@v1
with:
files: ./dist/*.pkg.tar.zst
tag_name: ${{ github.ref_name }}
tag_name: ${{ needs.build_arch.steps.pkg_version.outputs.version }}
draft: false
prerelease: false
env: