Environment variable for release version run

This commit is contained in:
Core 2022-10-03 11:34:00 +01:00
parent 7041a2c33f
commit b8f661840a
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0
2 changed files with 7 additions and 3 deletions

View file

@ -29,7 +29,7 @@ jobs:
# name: Clear cache (only if CI fails uncomment this)
# command: |
# rm -rf ~/.pnpm-store || true
# rm -rf node_modules || true
# rm -rf node_modules || true
- run:
name: Clear node_airtunes2 cache
command: rm -rf ~/.pnpm-store/tmp/_tmp_1469292_a6751613e03842bf2a6fa9a4b21c3e28 || true
@ -133,7 +133,7 @@ jobs:
- run:
name: Run Version Script
command: |
sudo chmod +x resources/version.sh && ./resources/version.sh || true
sudo chmod +x resources/version.sh && GH_RELEASE_REQUEST=true ./resources/version.sh || true
echo "export APP_VERSION=$(node -p -e 'require("./package.json").version')" >>$BASH_ENV
- run:
name: Publish Release