Skip to content

fix(ci): pin semantic-release exec/git to execa-5 versions - #351

Merged
Xyzcancer merged 1 commit into
masterfrom
fix/pin-semantic-release-plugins
Aug 13, 2026
Merged

fix(ci): pin semantic-release exec/git to execa-5 versions#351
Xyzcancer merged 1 commit into
masterfrom
fix/pin-semantic-release-plugins

Conversation

@Xyzcancer

Copy link
Copy Markdown
Contributor

The multiplatform version bump installs @semantic-release/exec and @semantic-release/git via additional-packages, which resolves to their latest majors (7 / 11). Those require execa ^9, whose encoding-option.js uses Set.prototype.union — a Node >= 22 feature. The codfish semantic-release-action v3 image runs an older Node, so the bump crashed with "TEXT_ENCODINGS.union is not a function".

Pin to exec 6.0.3 / git 10.0.1 (execa ^5), which match the action's bundled semantic-release 22.

The multiplatform version bump installs @semantic-release/exec and
@semantic-release/git via additional-packages, which resolves to their latest
majors (7 / 11). Those require execa ^9, whose encoding-option.js uses
Set.prototype.union — a Node >= 22 feature. The codfish semantic-release-action
v3 image runs an older Node, so the bump crashed with
"TEXT_ENCODINGS.union is not a function".

Pin to exec 6.0.3 / git 10.0.1 (execa ^5), which match the action's bundled
semantic-release 22. Also wrap the over-long comment and the GH_TOKEN /
releaseVersion expressions so the touched file passes yamllint (<= 80 cols).
@Xyzcancer
Xyzcancer force-pushed the fix/pin-semantic-release-plugins branch from 8cd7043 to c7e8abf Compare August 13, 2026 06:55
@Xyzcancer
Xyzcancer merged commit 1b5a8d2 into master Aug 13, 2026
1 check passed
@Xyzcancer
Xyzcancer deleted the fix/pin-semantic-release-plugins branch August 13, 2026 06:56
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.

1 participant