From b9d21b1b7a479c292059a2b21b1ce7eee3616326 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 13 Feb 2026 13:55:56 +0100 Subject: [PATCH] replace hypens with underscore in pkgbuild version --- .github/workflows/linux-makepkg.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-makepkg.yml b/.github/workflows/linux-makepkg.yml index 7487ea1dc..f8cba58b3 100644 --- a/.github/workflows/linux-makepkg.yml +++ b/.github/workflows/linux-makepkg.yml @@ -51,7 +51,9 @@ jobs: install -d -m 0755 -o builder -g builder "$PKGDEST" "$SRCDEST" - name: Set package version run: | - sed -i -e 's|^pkgver=.*$|pkgver=${{ needs.get-version.outputs.semVerStr }}|' dist/linux/makepkg/PKGBUILD + sed -i -e 's|^pkgver=.*$|pkgver=${VERSION//-/_}|' dist/linux/makepkg/PKGBUILD + env: + VERSION: ${{ needs.get-version.outputs.semVerStr }} - name: Build package with makepkg working-directory: dist/linux/makepkg run: |