Skip to content

Commit 1bfdfc6

Browse files
committed
fix(release): align Cargo.toml to v1.16.23 and fix npm version command
- Update workspace version to 1.16.23 to match tag v1.16.23 - Replace broken 'npm version' with 'npm pkg set version=' in publish-npm.yml 'npm version X.Y.Z' interprets X.Y.Z as a script name, not a version value - This fixes the E409 'Cannot publish over existing version' error
1 parent be028f9 commit 1bfdfc6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ jobs:
392392
393393
if [[ "$VERSION_TO_USE" != "" ]]; then
394394
echo "📝 Updating version to $VERSION_TO_USE"
395-
npm version $VERSION_TO_USE --no-git-tag-version
395+
npm pkg set version=$VERSION_TO_USE
396396
fi
397397
398398
- name: Configure npm for GitHub Packages

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exclude = [
3131
default-members = ["terraphim_server"]
3232

3333
[workspace.package]
34-
version = "1.16.20"
34+
version = "1.16.23"
3535
edition = "2024"
3636

3737
[workspace.dependencies]

0 commit comments

Comments
 (0)