Skip to content

Commit 1e2c728

Browse files
committed
1.0.0
1 parent 53fce52 commit 1e2c728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Install dependencies and build 🔧
2626
run: |
27-
TAG=$(git describe --tags)
27+
TAG=$(echo ${{ github.ref }} | rev | cut -d/ -f1 | rev)
2828
echo "TAG=${TAG}" >> $GITHUB_ENV
2929
jq '.version="'$TAG'"' package.json > package.json.new
3030
mv package.json.new package.json

0 commit comments

Comments
 (0)