1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

fix: update release script

This commit is contained in:
Ivar Conradi Østhus 2022-04-05 21:18:25 +02:00
parent f9d7126e3d
commit f5257b32fa
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -1,4 +1,4 @@
name: 'Release unleash-server' name: 'Publish to npm'
on: on:
push: push:
tags: tags:
@ -23,7 +23,6 @@ jobs:
- run: | - run: |
yarn install --frozen-lockfile yarn install --frozen-lockfile
yarn lint yarn lint
yarn run test
- run: | - run: |
TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?') TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?')
npm publish --tag ${TAG:-latest} npm publish --tag ${TAG:-latest}