We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fce52 commit 1e2c728Copy full SHA for 1e2c728
.github/workflows/npm.yml
@@ -24,7 +24,7 @@ jobs:
24
25
- name: Install dependencies and build 🔧
26
run: |
27
- TAG=$(git describe --tags)
+ TAG=$(echo ${{ github.ref }} | rev | cut -d/ -f1 | rev)
28
echo "TAG=${TAG}" >> $GITHUB_ENV
29
jq '.version="'$TAG'"' package.json > package.json.new
30
mv package.json.new package.json
0 commit comments