You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation now keeps Process-PSModule releases trunk-based and
aligned with the workflow implementation.
## Changed: Release guidance follows the default branch
The documentation now states that feature branches are short-lived and
target `main` directly. Stable publication occurs only when a pull
request is merged to the repository default branch. A `Prerelease` label
remains available for previewing a feature pull request before merge.
The proposed release-branch promotion process and `release/**` trigger
have been removed. Dependent work may still use the canonical stacked
pull request model.
---
<details>
<summary>Technical details</summary>
- Removed the release-branch pattern added from PSModule/docs#90.
- Aligned the versioning guide, module standard, principles, bootstrap
guidance, and specification with trunk-based delivery.
- Corrected the specification from publication on a release branch to
publication on the default branch.
- No test/import/no-mocks guidance was duplicated.
</details>
<details>
<summary>Relevant issues (or links)</summary>
- PSModule/docs#90
</details>
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/content/get-started/module-bootstrap.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,6 @@ A module bootstrapped this way:
60
60
## When to use this
61
61
62
62
- The module has no usable release yet, and the load-bearing core hasn't landed.
63
-
- Use this only for the initial bootstrap. Once `main` has a first release, ongoing feature work targets `main` directly with ordinary topic branches, or a [stacked pull request](https://msx.no/docs/Ways-of-Working/Branching-and-Merging/#stacked-pull-requests) when changes genuinely depend on each other.
63
+
- Use this only for the initial bootstrap. Once `main` has a first release, ongoing feature work targets `main` directly with ordinary topic branches, or uses a [stacked pull request](https://msx.no/docs/Ways-of-Working/Branching-and-Merging/#stacked-pull-requests) when changes genuinely depend on each other.
64
64
65
65
For the general branching and merge model, see [MSX Branching and Merging](https://msx.no/docs/Ways-of-Working/Branching-and-Merging/).
Copy file name to clipboardExpand all lines: docs/content/specification/spec.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,9 @@ The pipeline MUST generate module documentation from the source (cmdlet help, RE
45
45
46
46
The pipeline MUST read pull-request labels (`Major`, `Minor`, `Patch`, `Prerelease`, `NoRelease`) to decide the
47
47
semantic-version bump when the merged pull request exactly matches a default-branch push. It MUST compute the next
48
-
version automatically, never reading or writing a hand-edited version file. An important push to the release branch
49
-
MUST trigger publication to the PowerShell Gallery and documentation site; a prerelease label MUST result in a
50
-
prerelease version available for testing before stable release.
48
+
version automatically, never reading or writing a hand-edited version file. An important push to the default branch MUST
49
+
trigger publication to the PowerShell Gallery and documentation site; a prerelease label MUST result in a prerelease
50
+
version available for testing before stable release.
51
51
52
52
### FR6 — Produce immutable, linkable releases {#fr6}
53
53
@@ -65,7 +65,7 @@ Only one release process MUST run against a given version of the codebase at a t
65
65
66
66
### NFR3 — Single production authority {#nfr3}
67
67
68
-
Exactly one branch (typically `main`) MUST be authorized to publish stable releases. All other release branches MUST publish only prerelease versions. This ensures consumers have one unambiguous latest stable version.
68
+
Exactly one branch (the repository default branch, typically `main`) MUST be authorized to publish stable releases. Feature branches MAY publish only prerelease versions. This ensures consumers have one unambiguous latest stable version.
0 commit comments