mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-12 15:39:06 +00:00
fix: update release script
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: 'Release unleash-server'
|
||||
name: 'Publish to npm'
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
@@ -22,8 +22,7 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: |
|
||||
yarn install --frozen-lockfile
|
||||
yarn lint
|
||||
yarn run test
|
||||
yarn lint
|
||||
- run: |
|
||||
TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?')
|
||||
npm publish --tag ${TAG:-latest}
|
||||
|
||||
Reference in New Issue
Block a user