Skip to content

Commit 26af5a6

Browse files
authored
fix(ci): skip CHANGELOG script for feature/standalone #4700
Problem: "prerelease" and "package test" CI jobs are failing: error: changelog data file already exists: /codebuild/output/src1532600206/src/github.com/aws/aws-toolkit-vscode/.changes/2.19.0-SNAPSHOT.json because 3890da4 did a "fake release" on `feature/standalone`, then later `public/master` merged-in (1170aa9) more changelog entries (without bumping the version). Solution: - don't generate CHANGELOG for feature/standalone - revert 3890da4 (because 2.19 was not actually released yet) - TODO: move `.changes/` to subprojects
1 parent e51a3a2 commit 26af5a6

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed

.changes/2.19.0-SNAPSHOT.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Amazon Q Feature Dev: Use project context from workspace root directory instead of the /src folder"
4+
}

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
## 2.19.0-SNAPSHOT 2024-04-10
2-
3-
- **Feature** Amazon Q Feature Dev: Use project context from workspace root directory instead of the /src folder
4-
51
## 2.18.0 2024-04-04
62

73
- **Bug Fix** Amazon Q Feature Dev: Fix followups after hitting iteration limit

buildspec/release/10changeversion.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ phases:
2626
npm version --no-git-tag-version "$VERSION" -w packages/${TARGET_EXTENSION}
2727
# Call npm ci because 'createRelease' uses ts-node
2828
npm ci
29+
# TODO: fix createRelease (generates CHANGELOG) for "amazonq".
2930
- |
30-
npm run createRelease
31+
echo "$CODEBUILD_WEBHOOK_HEAD_REF" | >/dev/null grep master && npm run createRelease || true
3132
- |
3233
git add packages/${TARGET_EXTENSION}/package.json
3334
git add package-lock.json

0 commit comments

Comments
 (0)