Repository navigation
Publish an exact calculated release version - #120
Merged
Marius Storhaug (MariusStorhaug) merged 4 commits intoNov 27, 2026
Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
Marius Storhaug (MariusStorhaug) merged 4 commits into
Conversation
This was referenced Nov 27, 2026
Relates to #112 Depends on #120 ## Summary The separate `Release decision` job checks `main` PRs, including forks and docs-only changes. It uses the candidate publisher inputs and the exact labels Calculate read. A valid skip passes without a version. This check is advisory, not required. It does not change `.github/workflows/Release.yml`, rules, permissions outside the new job, auto-merge, labels, releases, or tags. ## Evidence - Failing-first parser, settings, and snapshot tests. - 336/336 local Pester 6.1.0 tests on the integrated branch. They include the actual bootstrap and report scripts with a shallow docs-only fork fixture, label-only staleness at an unchanged SHA, and read-only GitHub mocks. - Repository PowerShell analyzer, action and workflow YAML lint, and diff checks passed. - Hosted [Action-Test and Pester](https://github.com/PSModule/Release-GHRepository/actions/runs/46059063429) and [Super-Linter](https://github.com/PSModule/Release-GHRepository/actions/runs/46059063442) passed at `4162e4444aa6f6dbd0328984a18097f2e8837887`. - A live read-only GitHub merge-ref snapshot test used #118. It was not a hosted run of the new job. The new workflow only runs for PRs to `main`. This draft targets the Publish branch, so the hosted checks above do not include a live `Release decision` run.
Marius Storhaug (MariusStorhaug)
marked this pull request as ready for review
November 27, 2026 22:11
Marius Storhaug (MariusStorhaug)
merged commit Nov 27, 2026
324e60a
into
read-only-version-calculation
2 of 3 checks passed
Marius Storhaug (MariusStorhaug)
deleted the
publish-calculated-version
branch
November 27, 2026 22:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pass an exact version from Calculate to Publish. Publish uses it only if it matches the current release decision and target. Stable publication requires a default-branch push. This draft does not change the production release workflow.
Breaking: Stable publication requires a default-branch push
A pull request close can clean up prereleases, but cannot create a stable release. Before you adopt this version, move any stable publisher that runs on a pull request close to a default-branch push. The production transition stays in #108.
New: Publish an exact calculated version
Publish can use the unprefixed
ReleaseVersionfrom Calculate on the same event. PassCalculatedAtunchanged for a date-dependent prerelease. The GitHub moduleVersioninput does not change.Migration guide
release:prereleasebefore Publish.release, passReleaseVersionandCalculatedAtto Publish. Keep the same version settings. UseWhatIf: trueto preview without writes.Technical details
read-only-version-calculationatc7ec1533b970a676d69abc60127590136def82c0. Head:25b682e998159736bcbd33ff4758d118537885ff.ReleaseVersionand a stable release attempted on PR close. The test-only hosted run also failed as expected.src/Get-EventReleasePlan.ps1gives PR 4 the exact.PullRequestthat supplied the live labels, the resolved.ReleaseDecision, and the version plan. The public Calculate outputs do not change.Related links