Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

🚀 [Minor]: Default to patch-level prerelease for all open PRs with important changes#21

Closed
Marius Storhaug (MariusStorhaug) wants to merge 3 commits into
mainPSModule/Get-PSModuleSettings:mainfrom
feat/auto-prerelease-for-open-prsPSModule/Get-PSModuleSettings:feat/auto-prerelease-for-open-prsCopy head branch name to clipboard
Closed

🚀 [Minor]: Default to patch-level prerelease for all open PRs with important changes#21
Marius Storhaug (MariusStorhaug) wants to merge 3 commits into
mainPSModule/Get-PSModuleSettings:mainfrom
feat/auto-prerelease-for-open-prsPSModule/Get-PSModuleSettings:feat/auto-prerelease-for-open-prsCopy head branch name to clipboard

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Member

Problem

$shouldPrerelease previously required $hasPrereleaseLabel, meaning a PR had to carry the prerelease label before ReleaseType was set to 'Prerelease'. Without the label, ReleaseType = 'None', version resolution was skipped, and downstream actions (Build-PSModule v4.1+) that require a version would fail.

Change

  • $shouldPrerelease now fires for any open PR with important file changes — no label required.
  • $hasPrereleaseLabel, $prereleaseLabels, $prLabels and the PrereleaseLabels setting are removed (they are no longer needed for gating).
  • With AutoPatching = $true (existing default), the version bump defaults to patch level automatically.

Users control the bump level with labels (major, minor), and opt out with an ignore label (NoRelease by default).

Related

@MariusStorhaug Marius Storhaug (MariusStorhaug) deleted the feat/auto-prerelease-for-open-prs branch May 25, 2026 06:29
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.