Skip to content

Commit 2edbe21

Browse files
committed
Correct the value of majorVersion
1 parent 7e78aef commit 2edbe21

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

main.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ else
118118
fi
119119
fi
120120

121-
majorVersion=${VERSION:0:4}
122-
majorVersion="${majorVersion}x"
121+
majorVersion="${VERSION%'.'*}.x"
123122

124123
if [ -n "${DOC_SUB_FOLDER}" ]; then
125124
mkdir -p "$VERSION/$DOC_SUB_FOLDER"

0 commit comments

Comments
 (0)