Fixed extracting version number during build
Some checks failed
Build / Build NPM Project (push) Successful in 27s
Build / Tag Version (push) Successful in 7s
Build / Publish Documentation (push) Failing after 8s

This commit is contained in:
Zakary Timson 2024-10-01 15:13:47 -04:00
parent e1f22a01a6
commit ad4194a981

View File

@ -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