Commit 2277996
feat(release): channel-aware workflows + RELEASING runbook
Phase 1 of the release-strategy work.
- Add scripts/extract-release-notes.ps1: shared CHANGELOG section
extractor consumed by all three release workflows.
- release-psdocs.yml / release-psdocs-azure.yml:
- Parse tag into base version + optional preview suffix.
- Validate base version against PSDocs.psd1 / PSDocs.Azure.psd1
ModuleVersion (fail fast on mismatch).
- Extract per-version notes from CHANGELOG.md and pass via
--notes-file to gh release create.
- Mark GitHub Release as --prerelease when tag carries a SemVer
prerelease suffix.
- release-vscode.yml:
- Two-tag-prefix design (vscode-v* stable + vscode-preview-v*
preview) because VS Marketplace does not accept SemVer
prerelease suffixes in package.json version.
- Validate version against package.json.
- Route channel through the build's existing -Channel param so
preview publishes as vicperdana.psdocs-vscode-preview.
- Add RELEASING.md: end-to-end runbook covering one-time secret +
environment setup (PSGALLERY_API_KEY, VSCE_PAT, release env with
required reviewers), per-package release steps, pre-release flow,
troubleshooting, and rollback.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9cbc765 commit 2277996
5 files changed
Lines changed: 503 additions & 26 deletions
File tree
- .github/workflows
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
38 | 66 | | |
39 | 67 | | |
40 | 68 | | |
41 | 69 | | |
42 | | - | |
| 70 | + | |
43 | 71 | | |
44 | 72 | | |
45 | 73 | | |
| |||
51 | 79 | | |
52 | 80 | | |
53 | 81 | | |
| 82 | + | |
54 | 83 | | |
55 | 84 | | |
56 | | - | |
57 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
38 | 67 | | |
39 | 68 | | |
40 | 69 | | |
41 | 70 | | |
42 | | - | |
| 71 | + | |
43 | 72 | | |
44 | 73 | | |
45 | 74 | | |
| |||
51 | 80 | | |
52 | 81 | | |
53 | 82 | | |
| 83 | + | |
54 | 84 | | |
55 | 85 | | |
56 | | - | |
57 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | | - | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | | - | |
| 43 | + | |
38 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
39 | 82 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
43 | 87 | | |
44 | 88 | | |
45 | 89 | | |
46 | 90 | | |
47 | 91 | | |
48 | | - | |
| 92 | + | |
49 | 93 | | |
50 | 94 | | |
51 | 95 | | |
52 | | - | |
| 96 | + | |
53 | 97 | | |
54 | 98 | | |
55 | 99 | | |
| |||
68 | 112 | | |
69 | 113 | | |
70 | 114 | | |
| 115 | + | |
71 | 116 | | |
72 | | - | |
| 117 | + | |
73 | 118 | | |
74 | 119 | | |
75 | 120 | | |
76 | 121 | | |
| 122 | + | |
| 123 | + | |
77 | 124 | | |
78 | 125 | | |
79 | | - | |
80 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
81 | 129 | | |
0 commit comments