fix(ci,aur): empty version strings

This commit is contained in:
javalsai 2025-07-04 22:50:45 +02:00
parent 5207e1e94b
commit 3a7bd6f9f5
Signed by: javalsai
SSH Key Fingerprint: SHA256:3G83yKhBUWVABVX/vPWH88xnK4+ptMtHkZGCRXD4Mk8

View File

@ -84,15 +84,15 @@ jobs:
chown $UID:$(id -g) . -R chown $UID:$(id -g) . -R
- run: | - run: |
BRANCH=actions/update-aur-${{ inputs.version }} BRANCH=actions/update-aur-${{ needs.release-checks.outputs.VERSION }}
git config --global --add safe.directory $GITHUB_WORKSPACE git config --global --add safe.directory $GITHUB_WORKSPACE
git config user.name "GitHub Actions" git config user.name "GitHub Actions"
git config user.email "actions@github.com" git config user.email "actions@github.com"
git checkout -b $BRANCH git checkout -b $BRANCH
git commit -am "Update AUR pkgs to v${{ inputs.version }}" git commit -am "Update AUR pkgs to v${{ needs.release-checks.outputs.VERSION }}"
git push -u origin $BRANCH git push -u origin $BRANCH
gh pr create --head $BRANCH \ gh pr create --head $BRANCH \
--title "[AUR update]: Bump to ${{ inputs.version }}" \ --title "[AUR update]: Bump to ${{ needs.release-checks.outputs.VERSION }}" \
--body "*This PR was created automatically*" --body "*This PR was created automatically*"
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}