ci: Update build.yml workflow

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

@ -32,7 +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 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
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