From b319fb1a1e4e2fb85e398589dec064c26450bab0 Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Fri, 21 Jun 2024 12:45:00 +0200 Subject: [PATCH] chore(ci): fix wrong path for staging percentage script (cherry picked from commit 43233bec71b2d742e0e3dae32a14545033812bc7) --- .github/workflows/release-suite-desktop-web-production.yml | 2 +- .github/workflows/release-suite-desktop-web-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-suite-desktop-web-production.yml b/.github/workflows/release-suite-desktop-web-production.yml index 343880c8645..16519f49987 100644 --- a/.github/workflows/release-suite-desktop-web-production.yml +++ b/.github/workflows/release-suite-desktop-web-production.yml @@ -108,7 +108,7 @@ jobs: aws s3 cp s3://data.trezor.io/suite/releases/desktop/latest/latest-mac.yml . aws s3 cp s3://data.trezor.io/suite/releases/desktop/latest/latest-linux.yml . aws s3 cp s3://data.trezor.io/suite/releases/desktop/latest/latest-linux-arm64.yml . - ./ci/scripts/update-staging-percentage.sh ${{ github.event.inputs.setStagingPercentage }} + ./ci/scripts/set-staging-percentage.sh ${{ github.event.inputs.setStagingPercentage }} aws s3 cp latest.yml s3://data.trezor.io/suite/releases/desktop/latest/latest.yml aws s3 cp latest-mac.yml s3://data.trezor.io/suite/releases/desktop/latest/latest-mac.yml aws s3 cp latest-linux.yml s3://data.trezor.io/suite/releases/desktop/latest/latest-linux.yml diff --git a/.github/workflows/release-suite-desktop-web-staging.yml b/.github/workflows/release-suite-desktop-web-staging.yml index d9416564092..603bfe36811 100644 --- a/.github/workflows/release-suite-desktop-web-staging.yml +++ b/.github/workflows/release-suite-desktop-web-staging.yml @@ -134,7 +134,7 @@ jobs: # uploads the files to the staging bucket canary folder (canary does not have staging percentage set) aws s3 sync --delete ./trezor-suite-files s3://staging-data.trezor.io/suite/releases/desktop/canary # configures the default staging percentage to 20% for production - ./ci/scripts/update-staging-percentage.sh 20 + ./ci/scripts/set-staging-percentage.sh 20 VERSION=$(jq -r .suiteVersion packages/suite/package.json) aws s3 sync --delete ./trezor-suite-files s3://staging-data.trezor.io/suite/releases/desktop/latest aws s3 sync --delete s3://staging-data.trezor.io/suite/releases/desktop/latest/ s3://staging-data.trezor.io/suite/releases/desktop/v${VERSION}/