fix: publish the npm package with the right version (#4)
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user