mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
fix(action): release branches pattern was not correct (#19709)
This commit is contained in:
parent
bdd638400c
commit
4ae483c6dd
@ -10,7 +10,7 @@ then
|
||||
fi
|
||||
|
||||
# Get the highest version from release branches
|
||||
VERSION_BRANCHES=$(git branch -r | grep -o 'release/[0-9]*\.[0-9]*\.[0-9]*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sort --version-sort | tail -n 1)
|
||||
VERSION_BRANCHES=$(git branch -r | grep -o 'Version-v[0-9]*\.[0-9]*\.[0-9]*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sort --version-sort | tail -n 1)
|
||||
|
||||
# Get the highest version from tags
|
||||
VERSION_TAGS=$(git tag | grep -o 'v[0-9]*\.[0-9]*\.[0-9]*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sort --version-sort | tail -n 1)
|
||||
|
Loading…
Reference in New Issue
Block a user