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
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
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:
|
- run:
|
||||||
name: Validate source maps
|
name: Validate source maps
|
||||||
command: |
|
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:]]) ]]
|
if [[ $current_commit_msg =~ Version[[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+[-]beta.[[:digit:]]) ]]
|
||||||
then
|
then
|
||||||
# filter the commit message like Version v10.24.1-beta.1
|
# 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"
|
printf '%s\n' "Validate source maps with beta version $current_commit_msg"
|
||||||
yarn validate-source-maps
|
yarn validate-source-maps
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user