1
0

fix: properly replace version

This commit is contained in:
kolaente
2023-09-04 22:09:02 +02:00
parent e5b4cc23e4
commit 5977a931d0

View File

@ -2,6 +2,7 @@
set -e
cat package.json | sed "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" > tmp.json
mv tmp.json package.json
sed -i "s/\${version}/$VERSION/g" package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" package.json