fix: publish the npm package with the right version (#4)

This commit is contained in:
Patric Stout
2023-11-12 15:48:52 +01:00
committed by GitHub
parent c0e9eb5b2a
commit 8395cb710f

View File

@@ -28,7 +28,7 @@ jobs:
VERSION=$(echo ${{ github.ref_name }} | cut -b2-)
echo "Version: ${VERSION}"
sed -i 's/version = "0.0.0-git"/version = "'${VERSION}'"/' package.json
sed -i 's/"version": "0.0.0-git"/"version": "'${VERSION}'"/' package.json
- name: Install dependencies
run: npm install