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
Copy file name to clipboardExpand all lines: .github/workflows/prepare-release.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,12 +110,12 @@ jobs:
110
110
gh pr edit "$branch" \
111
111
--repo "$GITHUB_REPOSITORY" \
112
112
--title "Release $VERSION" \
113
-
--body "Bumps repo-owned release metadata to $VERSION. Merging this PR lets the production branch builder materialize generated outputs and the release-tag workflow create the GitHub tag and draft release."
113
+
--body "Bumps repo-owned release metadata to $VERSION. Merging this PR lets the Publish workflow materialize generated outputs, create the GitHub tag, and open a draft release."
114
114
else
115
115
gh pr create \
116
116
--repo "$GITHUB_REPOSITORY" \
117
117
--base "$BASE_BRANCH" \
118
118
--head "$branch" \
119
119
--title "Release $VERSION" \
120
-
--body "Bumps repo-owned release metadata to $VERSION. Merging this PR lets the production branch builder materialize generated outputs and the release-tag workflow create the GitHub tag and draft release."
120
+
--body "Bumps repo-owned release metadata to $VERSION. Merging this PR lets the Publish workflow materialize generated outputs, create the GitHub tag, and open a draft release."
Use `scripts/release/publish-github-release.sh` only from a production branch or
114
-
the `Release Tag` workflow. It creates the semver git tag from
115
-
`plugins/cad/VERSION` and creates a draft GitHub Release with generated notes.
113
+
Use `scripts/release/publish-github-release.sh` only from the `Publish`
114
+
workflow or as a manual production-branch fallback. It creates the semver git
115
+
tag from `plugins/cad/VERSION` and creates a draft GitHub Release with
116
+
generated notes.
116
117
`scripts/release/create-github-release.sh` remains as a manual all-in-one
117
118
fallback, but the workflow path is preferred.
118
119
119
120
## CI
120
121
121
122
| Workflow | Branches/events | Purpose |
122
123
| -------- | --------------- | ------- |
123
-
|`test.yml`| pushes to `dev`, `build-test`,`main`; PRs to those branches | Runs the broad code test wrapper. |
124
-
|`check-version.yml`| pushes to `dev`, `build-test`, `main`; PRs to those branches | Verifies repo-owned release metadata is internally consistent. |
124
+
|`test.yml`| pushes to `dev` and`main`; PRs to those branches | Runs the broad code test wrapper. |
125
+
|`check-version.yml`| pushes to `dev`; PRs targeting `dev`; manual dispatch | Verifies repo-owned release metadata is internally consistent before release publishing. |
125
126
|`check-symlinks.yml`| pushes to `dev`; PRs targeting `dev`| Verifies the development checkout keeps generated-copy paths symlinked to source. |
126
-
|`check-builds.yml`| pushes to `build-test` and `main`; PRs targeting those branches| Verifies production branches contain bundled generated outputs instead of symlinks. |
127
+
|`check-builds.yml`| pushes to `main`; PRs targeting `main`; manual dispatch| Verifies production branches contain bundled generated outputs instead of symlinks. |
127
128
|`prepare-release.yml`| manual dispatch from `dev`| Bumps version metadata on `release/<version>` and opens a release PR back to `dev`. |
128
-
|`build-test-branch.yml`| pushes to `dev`; manual dispatch | Temporary release builder that bundles `dev` and pushes production output to `build-test`; this will target `main` once trusted. |
129
-
|`release-tag.yml`| pushes to `build-test`; manual dispatch | Temporary production release workflow that tags the bundled commit and creates a draft GitHub Release; this will target `main` once trusted. |
129
+
|`publish.yml`| pushes to `dev`; manual dispatch | Bundles `dev`, validates and tests the production layout, pushes `build-test`, then creates or verifies the semver tag and draft GitHub Release. This will target `main` once trusted. |
130
130
131
131
In short: `dev` is the editable symlink branch, `build-test` is the temporary
132
-
production-output proving branch, and `main` is the eventual production branch
133
-
for user clones and published releases.
132
+
production-output branch written by `Publish`, and `main` is the eventual
133
+
production branch for user clones and published releases.
0 commit comments