Skip to content

Commit 2fbd309

Browse files
authored
Merge pull request #179 from open-wallet-standard/nj/fix-version-bump-prs
chore: script set version;
2 parents 56dc14d + 729413d commit 2fbd309

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

scripts/set-version.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,7 @@ set_node_version() {
4343
'.optionalDependencies |= with_entries(.value = $v)' \
4444
package.json > tmp.json && mv tmp.json package.json
4545

46-
# Sync optionalDependencies and platform package versions in the lockfile
47-
jq --arg v "$VERSION" '
48-
.packages[""].optionalDependencies |= with_entries(.value = $v)
49-
| .packages |= with_entries(
50-
if (.key | test("node_modules/@open-wallet-standard/core-"))
51-
then .value.version = $v
52-
else . end
53-
)
54-
' package-lock.json > tmp.json && mv tmp.json package-lock.json
46+
npm install
5547

5648
cargo update --workspace
5749
}

0 commit comments

Comments
 (0)