Two version outputted by script

This commit is contained in:
Core 2022-10-03 11:54:57 +01:00
parent b8f661840a
commit 9feb23155e
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0
3 changed files with 35 additions and 25 deletions

View file

@ -49,7 +49,6 @@ jobs:
GH_REQUEST_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
sudo chmod +x resources/version.sh && ./resources/version.sh || true
echo "APP_VERSION=$(node -p -e 'require("./package.json").version')" >>$GITHUB_ENV
- name: Clear node_airtunes2 cache
run: rm -rf ~/Library/pnpm/store/v3/tmp/cf5bc2de2629636ca224995234b8eaa1 || true
@ -91,7 +90,7 @@ jobs:
repo_name: ciderapp/cider-releases
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: dist/latest-mac.yml
tag: v${{ env.APP_VERSION }}
tag: v${{ env.RELEASE_VERSION }}
- name: Import
uses: apple-actions/import-codesign-certs@v1
@ -114,7 +113,7 @@ jobs:
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.3
with:
name: Cider-macOS-${{ env.APP_VERSION }}
name: Cider-macOS-${{ env.RELEASE_VERSION }}
path: |
dist/*.dmg
dist/*.pkg
@ -126,7 +125,7 @@ jobs:
repo_name: ciderapp/cider-releases
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: dist/Cider-*-universal.dmg
tag: v${{ env.APP_VERSION }}
tag: v${{ env.RELEASE_VERSION }}
- name: Upload Files (PKG)
uses: svenstaro/upload-release-action@v2
@ -134,7 +133,7 @@ jobs:
repo_name: ciderapp/cider-releases
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: dist/Cider-*-universal.pkg
tag: v${{ env.APP_VERSION }}
tag: v${{ env.RELEASE_VERSION }}
- name: Trigger Bot Sync (main)
uses: indiesdev/curl@v1.1
with: