Skip to content

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

Closed
Marius Storhaug (MariusStorhaug) wants to merge 3 commits into
mainfrom
feat/auto-prerelease-for-open-prs
Closed

🚀 [Minor]: Default to patch-level prerelease for all open PRs with important changes#21
Marius Storhaug (MariusStorhaug) wants to merge 3 commits into
mainfrom
feat/auto-prerelease-for-open-prs

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