Commit ff3f697
Add prerelease support to release workflow (#61)
* feat: add prerelease (rc) support to release workflow
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* fix: use latest stable tag for release notes on stable releases
When promoting from rc to stable, release notes now cover all changes
since the last stable version, not just since the last rc.
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* refactor: replace prerelease input with preminor/premajor/prerelease version types
Instead of a separate prerelease input, add preminor, premajor, and
prerelease directly to the newversion options. This maps directly to
npm version commands and avoids confusion about input combinations.
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* refactor: use boolean checkbox for prerelease instead of version type options
Simpler UI: newversion stays as patch/minor/major, and a separate
checkbox controls whether to release as rc. When checked and the
current version is already an rc, it bumps the rc number instead.
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* refactor: consolidate duplicate dry-run and production steps
Merge publish and release note steps by using DRY_RUN flag
to conditionally add --dry-run or switch to preview mode,
eliminating step duplication.
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* refactor: deduplicate env vars using workflow-level and job-level env
- PRERELEASE and DRY_RUN → workflow-level env
- NEW_TAG, PREVIOUS_TAG, PREVIOUS_STABLE_TAG → publish job-level env
- Remove redundant step-level env definitions
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* docs: add release input combinations table to CONTRIBUTING.md
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* refactor: move NEW_VERSION_TYPE to workflow-level env
All input-derived env vars are now consistently defined at workflow
level: NEW_VERSION_TYPE, PRERELEASE, DRY_RUN.
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
* style: fix markdown table formatting in CONTRIBUTING.md
https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0bd368b commit ff3f697
2 files changed
Lines changed: 76 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
23 | 32 | | |
24 | 33 | | |
25 | 34 | | |
| |||
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
63 | 77 | | |
64 | | - | |
65 | 78 | | |
66 | 79 | | |
67 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
68 | 91 | | |
69 | 92 | | |
70 | 93 | | |
| |||
90 | 113 | | |
91 | 114 | | |
92 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
93 | 120 | | |
94 | 121 | | |
95 | 122 | | |
| |||
104 | 131 | | |
105 | 132 | | |
106 | 133 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 134 | | |
114 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
115 | 144 | | |
116 | 145 | | |
117 | 146 | | |
| |||
122 | 151 | | |
123 | 152 | | |
124 | 153 | | |
125 | | - | |
126 | 154 | | |
127 | 155 | | |
128 | 156 | | |
| |||
132 | 160 | | |
133 | 161 | | |
134 | 162 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 163 | | |
145 | 164 | | |
146 | | - | |
147 | | - | |
148 | 165 | | |
149 | 166 | | |
150 | 167 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
77 | 91 | | |
78 | 92 | | |
79 | 93 | | |
| |||
0 commit comments