Skip to content

ci: support manual prereleases built from fork PRs#206

Open
NewtTheWolf wants to merge 1 commit into
TabularisDB:mainfrom
NewtTheWolf:ci/manual-prerelease-from-pr
Open

ci: support manual prereleases built from fork PRs#206
NewtTheWolf wants to merge 1 commit into
TabularisDB:mainfrom
NewtTheWolf:ci/manual-prerelease-from-pr

Conversation

@NewtTheWolf
Copy link
Copy Markdown
Contributor

Adds workflow_dispatch inputs (pr_number, tag_name, prerelease) to the release workflow so a maintainer can build a prerelease directly from a fork PR without merging or pushing the branch upstream. When pr_number is set, checkout uses refs/pull//head; the dispatcher controls the tag and prerelease flag.

Tag names containing a "-" (semver pre-release qualifier) auto-flag the release as prerelease even without the explicit input. AUR, Snap, and Winget downstream workflows now skip when github.event.release.prerelease is true, so beta channels stay out of the system package managers.

Adds workflow_dispatch inputs (pr_number, tag_name, prerelease) to the
release workflow so a maintainer can build a prerelease directly from a
fork PR without merging or pushing the branch upstream. When pr_number
is set, checkout uses refs/pull/<N>/head; the dispatcher controls the
tag and prerelease flag.

Tag names containing a "-" (semver pre-release qualifier) auto-flag the
release as prerelease even without the explicit input. AUR, Snap, and
Winget downstream workflows now skip when github.event.release.prerelease
is true, so beta channels stay out of the system package managers.
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