Commit b80fa5d
authored
fix(release-script): install root artifact before ShowcaseSync to prevent cut abort (#83)
cut-release.ps1 Step 4 (ShowcaseSync) aborted during the v1.6.5 cut
with "Could not find artifact io.github.demchaav:graphcompose:jar:1.6.5":
after Step 1 bumped the four pom.xml files to 1.6.5, the examples
module's graphcompose:\${project.version} dependency had no matching
artifact in local ~/.m2 (only the previous 1.6.4 was there) and Step 4
had no install gate. The cut had to finish by hand — install root, re-run
ShowcaseSync, verify, commit, tag, push.
Run-ShowcaseSync now executes ./mvnw -B -ntp -DskipTests install -pl .
immediately before exec:java, in both Release and PostReleaseOnly modes.
The dry-run preview now lists both steps so the install is visible
before any cut.
Also relaxes the Step 0 pre-flight branch / clean / sync gates for
-DryRun so the script can be previewed from a feature branch while
iterating on it. Live cuts still fail the gates loudly.
Lesson captured in docs/contributing/release-process.md section 4.1 parent 83fcd6a commit b80fa5d
2 files changed
Lines changed: 48 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
279 | 298 | | |
280 | 299 | | |
281 | 300 | | |
| |||
337 | 356 | | |
338 | 357 | | |
339 | 358 | | |
340 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
341 | 364 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
346 | 373 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
360 | 389 | | |
361 | | - | |
362 | 390 | | |
363 | 391 | | |
364 | 392 | | |
| |||
0 commit comments