Fixed extracting version number during build
This commit is contained in:
parent
e1f22a01a6
commit
ad4194a981
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -62,7 +62,7 @@ jobs:
|
|||||||
- name: Get Version Number
|
- name: Get Version Number
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
[[ -f server/package.json ]] && echo "VERSION=$(cat server/package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')" >> $GITHUB_ENV
|
[[ -f package.json ]] && echo "VERSION=$(cat package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Push with branch tag
|
- name: Push with branch tag
|
||||||
uses: ztimson/actions/docker/push@develop
|
uses: ztimson/actions/docker/push@develop
|
||||||
|
Loading…
Reference in New Issue
Block a user