From bb6f170ca3198acfb906696c234ed5aa660ccf09 Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Wed, 10 Jul 2024 12:00:40 +0200 Subject: [PATCH] chore(ci): change suite desktop auto-update test versions (cherry picked from commit 5727237c182ffa9e7ab2d6d17c7a14c590e590f5) --- .github/workflows/release-suite-desktop-web-staging.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-suite-desktop-web-staging.yml b/.github/workflows/release-suite-desktop-web-staging.yml index 4057c4bb5d1..9fb00c21797 100644 --- a/.github/workflows/release-suite-desktop-web-staging.yml +++ b/.github/workflows/release-suite-desktop-web-staging.yml @@ -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: | @@ -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 }}