Skip to content

chore: update dependency needed for semantic-release #464

Merged
kessplas merged 6 commits into
mainfrom
rishav/fixReleaseVersion
May 21, 2025
Merged

chore: update dependency needed for semantic-release #464
kessplas merged 6 commits into
mainfrom
rishav/fixReleaseVersion

Conversation

@rishav-karanjit

@rishav-karanjit rishav-karanjit commented May 20, 2025

Copy link
Copy Markdown
Member

Issue #, if available:

Description of changes:
semantic-release now requires to install conventional-changelog-conventionalcommits

For posterity: codebuild log where it failed when trying without conventional-changelog-conventionalcommits


[Container] 2025/05/20 20:40:46.837393 Entering phase PRE_BUILD
--
137 | [Container] 2025/05/20 20:40:46.838560 Running command git config --global user.name "aws-crypto-tools-ci-bot"
138 |  
139 | [Container] 2025/05/20 20:40:46.847074 Running command git config --global user.email "no-reply@noemail.local"
140 |  
141 | [Container] 2025/05/20 20:40:46.855147 Running command git checkout $BRANCH
142 | Switched to branch 'main'
143 |  
144 | [Container] 2025/05/20 20:40:46.867906 Phase complete: PRE_BUILD State: SUCCEEDED
145 | [Container] 2025/05/20 20:40:46.867921 Phase context status code:  Message:
146 | [Container] 2025/05/20 20:40:46.899230 Entering phase BUILD
147 | [Container] 2025/05/20 20:40:46.900268 Running command npx semantic-release --branches $BRANCH --no-ci
148 | [8:40:47 PM] [semantic-release] › ℹ  Running semantic-release version 24.2.4
149 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/changelog"
150 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/exec"
151 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/git"
152 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
153 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/exec"
154 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "verifyRelease" from "@semantic-release/exec"
155 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
156 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/exec"
157 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/changelog"
158 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/exec"
159 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/git"
160 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/exec"
161 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/exec"
162 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/exec"
163 | [8:40:48 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/exec"
164 | [8:40:50 PM] [semantic-release] › ✔  Run automated release from branch main on repository https://github.com/aws/aws-s3-encryption-client-java
165 | [8:40:50 PM] [semantic-release] › ✔  Allowed to push to the Git repository
166 | [8:40:50 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/changelog"
167 | [8:40:50 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/changelog"
168 | [8:40:50 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/exec"
169 | [8:40:50 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/exec"
170 | [8:40:50 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/git"
171 | [8:40:50 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/git"
172 | [8:40:50 PM] [semantic-release] › ℹ  Found git tag v3.3.4 associated with version 3.3.4 on branch main
173 | [8:40:50 PM] [semantic-release] › ℹ  Found 3 commits since last release
174 | [8:40:50 PM] [semantic-release] › ℹ  Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
175 | [8:40:50 PM] [semantic-release] › ✘  Failed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
176 | [8:40:50 PM] [semantic-release] › ✘  An error occurred while running semantic-release: Error: Cannot find module 'conventional-changelog-conventionalcommits'
177 | at importFrom (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/import-from-esm/index.js:114:17)
178 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
179 | at async default (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/@semantic-release/commit-analyzer/lib/load-parser-config.js:25:63)
180 | at async analyzeCommits (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/@semantic-release/commit-analyzer/index.js:31:18)
181 | at async validator (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/semantic-release/lib/plugins/normalize.js:36:24)
182 | at async file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/semantic-release/lib/plugins/pipeline.js:38:36
183 | at async Promise.all (index 0)
184 | at async next (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/p-reduce/index.js:15:44) {
185 | code: 'MODULE_NOT_FOUND',
186 | pluginName: '@semantic-release/commit-analyzer'
187 | }
188 | Error: Cannot find module 'conventional-changelog-conventionalcommits'
189 | at importFrom (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/import-from-esm/index.js:114:17)
190 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
191 | at async default (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/@semantic-release/commit-analyzer/lib/load-parser-config.js:25:63)
192 | at async analyzeCommits (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/@semantic-release/commit-analyzer/index.js:31:18)
193 | at async validator (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/semantic-release/lib/plugins/normalize.js:36:24)
194 | at async file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/semantic-release/lib/plugins/pipeline.js:38:36
195 | at async Promise.all (index 0)
196 | at async next (file:///codebuild/output/src1794251046/src/github.com/aws/aws-s3-encryption-client-java/node_modules/p-reduce/index.js:15:44) {
197 | code: 'MODULE_NOT_FOUND',
198 | pluginName: '@semantic-release/commit-analyzer'
199 | }
200 | [Container] 2025/05/20 20:40:50.542225 Command did not exit successfully npx semantic-release --branches $BRANCH --no-ci exit status 1
201 | [Container] 2025/05/20 20:40:50.547382 Phase complete: BUILD State: FAILED
202 | [Container] 2025/05/20 20:40:50.547404 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npx semantic-release --branches $BRANCH --no-ci. Reason: exit status 1


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@rishav-karanjit rishav-karanjit changed the title fix: semantic-release to temporary use dependency chore: semantic-release to temporary use dependency May 21, 2025
@rishav-karanjit rishav-karanjit changed the title chore: semantic-release to temporary use dependency chore: update dependency needed for semantic-release May 21, 2025
@rishav-karanjit rishav-karanjit marked this pull request as ready for review May 21, 2025 17:43
@rishav-karanjit rishav-karanjit requested a review from a team as a code owner May 21, 2025 17:43
@kessplas kessplas merged commit 0fd3b58 into main May 21, 2025
26 of 28 checks passed
josecorella pushed a commit that referenced this pull request May 21, 2025
## [3.3.5](v3.3.4...v3.3.5) (2025-05-21)

### Fixes

* determine effective contentLength, account for tagLength on decrypt ([#463](#463)) ([969d721](969d721))
* disable low-level Multipart Upload in Async client ([#461](#461)) ([599f941](599f941))
* support PutObjectResponse fields ([#462](#462)) ([dec503b](dec503b))

### Maintenance

* Revert "Amazon S3 Encryption Client 3.3.5 Release -- 2025-05-20" ([#465](#465)) ([3f9ac8e](3f9ac8e))
* update dependency needed for semantic-release  ([#464](#464)) ([0fd3b58](0fd3b58))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants