Commit 9500f70
authored
chore(release): automate version bumping in release workflow (#289)
* chore(release): automate version bumping in release workflow
- Bump package.json version to 0.2.0 to match latest release
- Add automated version-bump step in release.yml workflow
- Step updates package.json on main after successful release
- Prevents version drift between released artifacts and repo
- Uses [skip ci] to avoid recursive workflow triggers
Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
* fix(release): skip main version bump when releasing non-latest tags
- Add conditional check to only update package.json when is_latest=true
- Prevents older backport/patch releases from overwriting main's version
- Example: releasing v0.1.3 after v0.2.1 won't downgrade main to 0.1.3
- Update release summary to reflect conditional behavior
Addresses feedback from @changex-codex-connector
Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
---------
Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
Co-authored-by: Aseem Shrey <LuD1161@users.noreply.github.com>1 parent b8f14a4 commit 9500f70
2 files changed
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
265 | 290 | | |
266 | 291 | | |
267 | 292 | | |
268 | 293 | | |
269 | 294 | | |
270 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
271 | 301 | | |
272 | 302 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments