Skip to content

Commit

Permalink
try fix aur
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorriegler committed Jul 2, 2024
1 parent f9b7750 commit 8554a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-aur.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: |
mkdir -p ./aur/${{ env.PACKAGE_NAME }}/
# Strip the leading "v" from the version
VERSION_NUMBER=${{ env.VERSION }} # Using string replacement in YAML
VERSION_NUMBER=${{ env.VERSION }}
VERSION_NUMBER=${VERSION_NUMBER#v} # Strip 'v' at the start
echo "Version number for PKGBUILD is $VERSION_NUMBER"
cat > ./aur/${{ env.PACKAGE_NAME }}/PKGBUILD << EOF
cat > ./aur/${{ env.PACKAGE_NAME }}/PKGBUILD << 'EOF'
pkgname=${{ env.PACKAGE_NAME }}
pkgver=$VERSION_NUMBER
pkgrel=1
Expand Down

0 comments on commit 8554a21

Please sign in to comment.