mirror of
https://github.com/yang991178/fluent-reader.git
synced 2025-02-07 23:38:41 +01:00
update release version bash
This commit is contained in:
parent
87fdccd0cf
commit
e153ec23dc
6
.github/workflows/release-main.yml
vendored
6
.github/workflows/release-main.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: CI/CD Release Main
|
||||
name: CI/CD Release
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -20,7 +20,9 @@ jobs:
|
||||
|
||||
- name: Get app version
|
||||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@master
|
||||
run: |
|
||||
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
|
||||
echo ::set-output name=current-version::$PACKAGE_VERSION
|
||||
shell: bash
|
||||
|
||||
- name: Create release
|
||||
|
Loading…
x
Reference in New Issue
Block a user