ci: Update build.yml workflow

pull/7004/head
Nicolas Giard 1 year ago committed by GitHub
parent 5677d85305
commit 7895a2130a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,6 +32,7 @@ jobs:
- name: Disable DEV Flag + Set Version - name: Disable DEV Flag + Set Version
working-directory: server working-directory: server
run: | run: |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install jq brew install jq
mv package.json pkg-temp.json mv package.json pkg-temp.json
jq --arg vs "$REL_VERSION_STRICT" -r '. + {dev:false, version:$vs}' pkg-temp.json > package.json jq --arg vs "$REL_VERSION_STRICT" -r '. + {dev:false, version:$vs}' pkg-temp.json > package.json

Loading…
Cancel
Save