ci: only run on branch pushes; drop bump-script emerge; repoint vendor tags #20
Reference in New Issue
Block a user
Delete Branch "fix-ci-stuff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI trigger
ci.yamlused an unfilteredon: [push], which also fires for tag refs, including thegitea-runner-<ver>-vendortags the bump script creates via the API. It is now filtered to branch pushes.Bump script
scripts/bump-version.shno longer runspkgcheck/emerge/gitea-runner --versionbefore pushing. The branch push triggers CI, which runs the same checks and, unlike the script's local copy of the distfiles, fetches the real release asset through the Manifest. The generated PR body now asks for green CI instead of claiming the build passed in the bump job.Behavioural change: a broken upstream release now surfaces as a bump PR with red CI rather than a failed scheduled run. Retrying means closing that PR and deleting its branch, since the script exits early when the bump branch exists.
Vendor tag repointing
New
vendor-tags.yamlworkflow on pushes tomastertouchingdev-util/**. The vendor release is created before the bump commit exists, and PRs are squash-merged, so its tag pointed at an arbitrarymastercommit (most current tags sit on the 2.0.1 bump). The job force-updates each vendor tag whose ebuild is in the tree to themastercommit that added that ebuild. It only updates tags, never deletes them: deleting a release's tag makes Gitea delete the release and its assets, which would breakSRC_URI.First run after merge will move the 3.3.0 and 3.3.1 tags. Tags for versions no longer in the tree are left alone.
🤖 Generated with Claude Code