From 1e079e95b09422f16690a5911c014c79c96338bd Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Mon, 3 Apr 2023 12:58:09 -0700 Subject: [PATCH] Move all validate-source-maps-beta steps in config.yml into the respective .sh file (#18427) --- .circleci/config.yml | 6 ------ .circleci/scripts/validate-source-maps-beta.sh | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f4f84e8d1..e25e89fa5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1097,12 +1097,6 @@ jobs: - checkout - attach_workspace: at: . - - run: - name: Move beta build to dist - command: mv ./dist-beta ./dist - - run: - name: Move beta zips to builds - command: mv ./builds-beta ./builds - run: name: Validate source maps command: | diff --git a/.circleci/scripts/validate-source-maps-beta.sh b/.circleci/scripts/validate-source-maps-beta.sh index 644ac9fa6..186aa1548 100755 --- a/.circleci/scripts/validate-source-maps-beta.sh +++ b/.circleci/scripts/validate-source-maps-beta.sh @@ -10,6 +10,8 @@ current_commit_msg=$(git show -s --format='%s' HEAD) if [[ $current_commit_msg =~ Version[[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+[-]beta.[[:digit:]]) ]] then # filter the commit message like Version v10.24.1-beta.1 + mv ./dist-beta ./dist + mv ./builds-beta ./builds printf '%s\n' "Validate source maps with beta version $current_commit_msg" yarn validate-source-maps else