Skip to content

Commit

Permalink
Merge pull request #93 from fingerprintjs/chore/fix-release
Browse files Browse the repository at this point in the history
build: extract correct version from package.json
  • Loading branch information
TheUnderScorer authored Sep 27, 2024
2 parents 10996ab + 42e9de6 commit ee7e07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync-version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION=$(grep '"version"' package.json | sed -E 's/.*"version": "([0-9]+\.[0-9]+\.[0-9]+)".*/\1/')
VERSION=$(jq -r '.version' package.json)
jq --arg version "$VERSION" '.packageVersion = $version' config.json > temp.json && mv temp.json config.json

0 comments on commit ee7e07b

Please sign in to comment.