1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Move all validate-source-maps-beta steps in config.yml into the respective .sh file (#18427)

This commit is contained in:
Dan J Miller 2023-04-03 12:58:09 -07:00
parent 2a74a1002b
commit d795f5313a
2 changed files with 2 additions and 6 deletions

View File

@ -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: |

View File

@ -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