fix ci
This commit is contained in:
@@ -24,10 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get version from tag
|
- name: Get version from tag
|
||||||
id: version
|
id: version
|
||||||
run: |
|
run: echo "version=$(echo $GITHUB_REF | sed 's/refs\/tags\///')" >> $GITHUB_OUTPUT
|
||||||
VERSION=${GITHUB_REF#refs/tags/v}
|
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
||||||
echo "Package version: $VERSION"
|
|
||||||
|
|
||||||
- name: Update package.json version
|
- name: Update package.json version
|
||||||
run: npm pkg set version=${{ steps.version.outputs.version }}
|
run: npm pkg set version=${{ steps.version.outputs.version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user