From 4ae483c6dd9a21c2fce909318912ae592b3d59f2 Mon Sep 17 00:00:00 2001 From: Gauthier Petetin Date: Wed, 21 Jun 2023 15:10:04 -0300 Subject: [PATCH] fix(action): release branches pattern was not correct (#19709) --- development/get-next-semver-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/get-next-semver-version.sh b/development/get-next-semver-version.sh index 810747197..bdf4b93dc 100755 --- a/development/get-next-semver-version.sh +++ b/development/get-next-semver-version.sh @@ -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)