From d82679e8421744e21ac116e0723d85d386b6d055 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Mon, 25 Aug 2025 10:46:28 -0500 Subject: [PATCH] Fixed ci/create-revisions-file.sh to handle master branch w/ adding .x or not for LTS branches Ticket: ENT-12581 Changelog: none --- ci/create-revisions-file.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci/create-revisions-file.sh b/ci/create-revisions-file.sh index b86384a37..f881e7365 100755 --- a/ci/create-revisions-file.sh +++ b/ci/create-revisions-file.sh @@ -42,8 +42,13 @@ else _TMP="$BRANCH_NAME" fi if [ "$(expr "$_TMP" : ".*.x")" = 0 ]; then - _DOCS_BRANCH="$_TMP" - _BRANCH="$_TMP".x + if [ "$_TMP" = "master" ]; then + _DOCS_BRANCH=master + _BRANCH=master + else + _DOCS_BRANCH="$_TMP" + _BRANCH="$_TMP".x + fi else _DOCS_BRANCH=${_TMP%.x} # % removes suffix of .x from _TMP _BRANCH="$_TMP"