Skip to content

Fix AUR release push from detached checkouts - #98

Merged
dskvr merged 1 commit into
masterfrom
fix/aur-release-push
Sep 9, 2026
Merged

Fix AUR release push from detached checkouts#98
dskvr merged 1 commit into
masterfrom
fix/aur-release-push

Conversation

@dskvr

@dskvr dskvr commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Problem

The v2.2.6 AUR workflow generated correct package metadata, then failed because tag checkouts are detached and git push origin master had no local master ref.

Fix

Push the prepared commit explicitly with HEAD:master for stable and -git AUR publication jobs.

Validation

  • git diff --check
  • Workflow diff reviewed
  • Required live validation: rerun AUR publication for v2.2.6

AUR release jobs checkout tags and can run detached, so pushing the literal local master ref fails after PKGBUILD generation. Push the prepared HEAD commit explicitly to the AUR master branch for both stable and -git publication paths.

Constraint: GitHub Actions checkout may be detached
Rejected: Create local master branch in workflow | unnecessary ref mutation
Confidence: high
Scope-risk: narrow
Directive: Keep explicit HEAD:master refspec for AUR publication jobs
Tested: git diff --check; workflow syntax diff review
Not-tested: Live AUR push until rerun with repository secret
@dskvr
dskvr merged commit a12c066 into master Sep 9, 2026
1 check passed
@dskvr
dskvr deleted the fix/aur-release-push branch September 9, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant