Skip to content

Commit 43c8ce3

Browse files
committed
fix(release-script): stage bundle/pom.xml in the release commit
cut-release.ps1 bumps bundle/pom.xml to the engine line in step 1 but the step 6 'git add' omitted it, so the bump landed in the working tree and never reached the Release commit or its tag. Add bundle/pom.xml to the staged set (and the matching dry-run echo).
1 parent 2eea3ce commit 43c8ce3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/cut-release.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,13 @@ try {
495495
Step 6 "Commit release"
496496
$commitMsg = "Release v$Version"
497497
if ($DryRun) {
498-
Write-Host " [DRY RUN] git add pom.xml aggregator/pom.xml examples/pom.xml benchmarks/pom.xml README.md CHANGELOG.md examples/src/main/java/com/demcha/examples/support/ShowcaseMetadata.java web/examples.json web/index.html web/showcase" -ForegroundColor Yellow
498+
Write-Host " [DRY RUN] git add pom.xml aggregator/pom.xml bundle/pom.xml examples/pom.xml benchmarks/pom.xml README.md CHANGELOG.md examples/src/main/java/com/demcha/examples/support/ShowcaseMetadata.java web/examples.json web/index.html web/showcase" -ForegroundColor Yellow
499499
Write-Host " [DRY RUN] git commit -m `"$commitMsg`"" -ForegroundColor Yellow
500500
} else {
501501
git add `
502502
pom.xml `
503503
aggregator/pom.xml `
504+
bundle/pom.xml `
504505
examples/pom.xml `
505506
benchmarks/pom.xml `
506507
README.md `

0 commit comments

Comments
 (0)