From 18340b20218b69518ffc150b83a904a8ba8d648c Mon Sep 17 00:00:00 2001 From: "Mahatthana (Kelvin) Nomsawadi" <me@bboykelvin.dev> Date: Wed, 13 Nov 2024 09:40:04 +0700 Subject: [PATCH] Revert "[DEBUG] modify the branch name for testing" This reverts commit a2c21f4d0b976f00c2054e4e3b356ead06f9b385. --- .github/workflows/release-embedding-sdk.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-embedding-sdk.yml b/.github/workflows/release-embedding-sdk.yml index 79d0afecbb0..c524c101fca 100644 --- a/.github/workflows/release-embedding-sdk.yml +++ b/.github/workflows/release-embedding-sdk.yml @@ -10,7 +10,7 @@ on: default: "master" options: - master - - 49881-release-51-prevent-sdk-from-being-upgraded-unintentionally + - release-x.51.x concurrency: # We want to ensure only one job is running at a time per branch because @@ -254,10 +254,10 @@ jobs: run: | echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_RELEASE_TOKEN }} > .npmrc # Please keep the value in sync with `inputs.branch`'s release branch - npm publish --dry-run --tag ${{fromJson('{"master": "nightly", "49881-release-51-prevent-sdk-from-being-upgraded-unintentionally": "51-stable"}')[inputs.branch]}} + npm publish --dry-run --tag ${{fromJson('{"master": "nightly", "release-x.51.x": "51-stable"}')[inputs.branch]}} - - name: Add `latest` tag to the latest release branch (`49881-release-51-prevent-sdk-from-being-upgraded-unintentionally`) deployment - if: ${{ inputs.branch == '49881-release-51-prevent-sdk-from-being-upgraded-unintentionally' }} + - name: Add `latest` tag to the latest release branch (`release-x.51.x`) deployment + if: ${{ inputs.branch == 'release-x.51.x' }} working-directory: sdk run: | # npm dist-tag add @metabase/embedding-sdk-react@${{ env.sdk_version }} latest -- GitLab