mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Move all validate-source-maps-beta steps in config.yml into the respective .sh file (#18427)
This commit is contained in:
parent
be41b29199
commit
1e079e95b0
@ -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: |
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user