Skip to content

Commit df3890d

Browse files
committed
semver
1 parent 2225bbc commit df3890d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,21 +143,21 @@ jobs:
143143
run: |
144144
set -e
145145
146-
echo "Tag: ${GH_TAG}"
146+
echo "Tag: ${NPM_VER}"
147147
148-
gh release create $GH_TAG --draft --notes "Automatically built binaries"
149-
gh release edit $GH_TAG --title "🚀 Latest"
148+
gh release create $NPM_VER --draft --notes "Automatically built binaries"
149+
gh release edit $NPM_VER --title "🚀 Latest"
150150
151151
cd artifacts
152152
153153
for name in *; do
154154
cd "${{ github.workspace }}/artifacts/${name}/release"
155155
chmod +x ./*
156156
tar -czvf ./${name}.tar.gz ./*
157-
gh release upload $GH_TAG ${name}.tar.gz
157+
gh release upload $NPM_VER ${name}.tar.gz
158158
done
159159
160-
gh release edit $GH_TAG --draft=false
160+
gh release edit $NPM_VER --draft=false
161161
162162
publish-npm-package:
163163
name: "🔄 Publish NPM Package"
@@ -177,7 +177,7 @@ jobs:
177177
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
178178
run: |
179179
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> $HOME/.npmrc
180-
echo "GH_TAG: ${GH_TAG}"
180+
echo "GH_TAG: ${NPM_VER}"
181181
echo "NPM_VER: ${NPM_VER}"
182182
node .github/scripts/string-replace.mjs ./npm/package.json "0.0.0-local" "$NPM_VER"
183183
cp ./README.md ./npm/README.md

0 commit comments

Comments
 (0)