1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: release script syntax

This commit is contained in:
Ivar Conradi Østhus 2022-04-20 23:45:02 +02:00
parent 9f49e5a965
commit 2f638334b1
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -24,7 +24,7 @@ jobs:
yarn install --frozen-lockfile yarn install --frozen-lockfile
- run: | - run: |
LATEST=$(npm show unleash-server version) LATEST=$(npm show unleash-server version)
TAG=${node scripts/npm-tag.js $LATEST} TAG=$(node scripts/npm-tag.js $LATEST)
npm publish --tag ${TAG:-latest} npm publish --tag ${TAG:-latest}
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}