We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a611e0c commit 391c8aeCopy full SHA for 391c8ae
tooling/backport-pr-to-patch-release.sh
@@ -21,9 +21,9 @@ if [ -z "$PATCH_RELEASE_NAME" ]; then
21
echo "Patch release name is not provided: $0 <patch-release-name> <pr-number>"
22
exit 1
23
fi
24
-# Check patch release name does not start with "release/"
25
-if [[ "$PATCH_RELEASE_NAME" =~ ^release/.* ]]; then
26
- echo "Patch release name should not be the same as the release branch name. Only include the release name without patch number. (e.g. v1.2.x)"
+# Check patch release name format:
+if [[ ! "$PATCH_RELEASE_NAME" =~ ^v[0-9]+\.[0-9]+\.x$ ]]; then
+ echo "Patch release name should be in the format v1.2.x"
27
28
29
# Check PR number is provided
0 commit comments