Skip to content

Commit

Permalink
chore(ci): change suite desktop auto-update test versions
Browse files Browse the repository at this point in the history
(cherry picked from commit 5727237)
  • Loading branch information
vdovhanych authored and MiroslavProchazka committed Jul 10, 2024
1 parent a656cca commit bb6f170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-suite-desktop-web-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ jobs:
- name: Prepare versions for autoupdate
id: prepare-versions
run: |
sed -E 's/"suiteVersion": "2([0-9]+\.[0-9]+\.[0-9]+)"/"suiteVersion": "0\1"/' packages/suite/package.json > version0.json
sed -E 's/"suiteVersion": "2([0-9]+\.[0-9]+\.[0-9]+)"/"suiteVersion": "3\1"/' packages/suite/package.json > version3.json
sed -E 's/"suiteVersion": "([0-9]+)\.([0-9]+)\.([0-9]+)"/"suiteVersion": "0.\1.\2"/' packages/suite/package.json > version0.json
sed -E 's/"suiteVersion": "2([0-9]+)\.([0-9]+)\.([0-9]+)"/"suiteVersion": "3\1.\2.\3"/' packages/suite/package.json > version3.json
echo "VERSION0=$(jq -r .suiteVersion version0.json)" >> $GITHUB_OUTPUT
echo "VERSION3=$(jq -r .suiteVersion version3.json)" >> $GITHUB_OUTPUT
- name: Build ${{ matrix.platform }} suite-desktop autoupdate version 0x.x.x
- name: Build ${{ matrix.platform }} suite-desktop autoupdate version 0.xx.x
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
Expand All @@ -253,7 +253,7 @@ jobs:
bash packages/suite-desktop-core/scripts/gnupg-sign.sh
cp -r packages/suite-desktop/build-electron/* .
- name: Upload suite-desktop autoupdate version 0x.x.x artifacts
- name: Upload suite-desktop autoupdate version 0.xx.x artifacts
uses: actions/upload-artifact@v4
with:
name: AUTOUPDATE-TEST-suite-desktop-${{steps.prepare-versions.outputs.VERSION0}}-${{ matrix.platform }}
Expand Down

0 comments on commit bb6f170

Please sign in to comment.