iPolloWork icon indicating copy to clipboard operation
iPolloWork copied to clipboard

[Bug] AUR publish job checks out a branch that lacks its update script

Open yuuu125 opened this issue 4 months ago • 0 comments

Background and impact

The AUR publishing step of the v0.17.31 release workflow fails after the desktop artifacts have been built and uploaded. As a result, the GitHub release process can complete without updating the Arch Linux AUR package, leaving AUR users on an older version.

Affected workflow

  • .github/workflows/release-macos-aarch64.yml at tag v0.17.31
  • aur-publish job

The job checks out the dev branch, then runs scripts/aur/update-aur.sh $RELEASE_TAG. The dev branch does not contain that script, while the same script exists on main.

Steps to reproduce

  1. Run the Release App workflow for a version tag that reaches the aur-publish job.
  2. Let the workflow execute the Checkout dev step.
  3. Observe the subsequent Update AUR packaging files step.

Expected behavior

The AUR job should check out a revision that contains the AUR update and publish scripts, update packaging/aur/PKGBUILD and .SRCINFO for the release tag, then push the packaging update to the intended branch and publish it to AUR.

Actual behavior

The job exits with code 127 before updating any packaging files:

scripts/aur/update-aur.sh: No such file or directory

The failed run is Release App #14. Its log shows that the job checked out dev, and verification confirms dev:scripts/aur/update-aur.sh is absent while main:scripts/aur/update-aur.sh exists.

Suggested investigation

Either restore the AUR scripts to dev if that branch is intentionally the AUR packaging branch, or change the job to check out main/the release tag and push the generated packaging update to the correct target branch. Add a workflow-level check that verifies both scripts/aur/update-aur.sh and scripts/aur/publish-aur.sh exist before attempting a release.

yuuu125 avatar Jul 21 '26 08:07 yuuu125