Skip to content

Commit f3548fd

Browse files
Merge pull request #1864 from craigcomstock/ENT-12581
Fixed ci/create-revisions-file.sh to handle master branch w/ adding .x or not for LTS branches
2 parents dd6b1b0 + d82679e commit f3548fd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/create-revisions-file.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,13 @@ else
4242
_TMP="$BRANCH_NAME"
4343
fi
4444
if [ "$(expr "$_TMP" : ".*.x")" = 0 ]; then
45-
_DOCS_BRANCH="$_TMP"
46-
_BRANCH="$_TMP".x
45+
if [ "$_TMP" = "master" ]; then
46+
_DOCS_BRANCH=master
47+
_BRANCH=master
48+
else
49+
_DOCS_BRANCH="$_TMP"
50+
_BRANCH="$_TMP".x
51+
fi
4752
else
4853
_DOCS_BRANCH=${_TMP%.x} # % removes suffix of .x from _TMP
4954
_BRANCH="$_TMP"

0 commit comments

Comments
 (0)