mirror of
https://github.com/wickedest/Mergely.git
synced 2026-02-06 10:07:49 +08:00
ci: update tag latest
This commit is contained in:
2
.github/workflows/npm-release.yaml
vendored
2
.github/workflows/npm-release.yaml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
- name: Get package version
|
||||
run: |
|
||||
export VERSION=`cat package.json | grep version | sed -E 's/.*: "(.*)",/\1/'`
|
||||
export VERSION=`cat package.json | grep '"version"' | sed -E 's/\s+"version": "(.*)",/\1/'`
|
||||
echo "PKG_VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Update dist-tag
|
||||
|
||||
Reference in New Issue
Block a user