Merge pull request #149 from razvandimescu/fix/publish-aur-detached-head

ci(aur): attach to master after clone to avoid detached HEAD
This commit was merged in pull request #149.
This commit is contained in:
Razvan Dimescu
2026-04-24 18:07:21 +03:00
committed by GitHub

View File

@@ -126,6 +126,10 @@ jobs:
# ssh://aur@aur.archlinux.org/<package-name>.git
git clone ssh://aur@aur.archlinux.org/$AUR_PKGNAME.git aur-repo
# AUR's git server no longer advertises HEAD's symref, so clone
# lands in detached HEAD. Attach to master before committing.
git -C aur-repo checkout master
cp PKGBUILD aur-repo/
cd aur-repo