Skip to content

Commit 40d84a4

Browse files
authored
Merge pull request #27330 from Eism/tag_name_fix
CI. Release. Tag name fix
2 parents ba04c70 + a71c1a7 commit 40d84a4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

buildscripts/ci/release/make_tag_name.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,11 @@ else
124124
VERSION_LABEL="${label}"
125125
fi
126126

127-
if ((PATCH == 0)); then
128-
PRETTY_VERSION="${MAJOR}.${MINOR}" # e.g. '4.0'
129-
else
130-
PRETTY_VERSION="${MAJOR}.${MINOR}.${PATCH}" # e.g. '4.0.1'
131-
fi
132-
133-
TAG_NAME="v${PRETTY_VERSION}" # e.g. 'v4.0'
127+
PRETTY_VERSION="${MAJOR}.${MINOR}.${PATCH}" # e.g. '4.0.0'
128+
TAG_NAME="v${PRETTY_VERSION}" # e.g. 'v4.0.0'
134129

135130
if [[ "${VERSION_LABEL}" ]]; then
136-
TAG_NAME="${TAG_NAME}-${VERSION_LABEL}" # e.g. 'v4.0-rc.2'
131+
TAG_NAME="${TAG_NAME}-${VERSION_LABEL}" # e.g. 'v4.0.0-rc.2'
137132
fi
138133

139134
if tag_exists "${TAG_NAME}"; then

0 commit comments

Comments
 (0)