Skip to content

Commit 972f938

Browse files
committed
Update workflows from templates.
1 parent 8397de5 commit 972f938

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/bump-version.bump.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ if [ -z "${RELEASEVERS}" ] ; then
5454
if ! [[ ${RELEASEVERS} =~ [-.]rc([-.]|$) ]] ; then
5555
RELEASEVERS="${RELEASEVERS}-rc.0"
5656
fi
57+
# If there's no number after the "rc", append ".0".
58+
if ! [[ ${RELEASEVERS} =~ [-.]rc[-.][0-9]+ ]] ; then
59+
RELEASEVERS="${RELEASEVERS}.0"
60+
fi
5761
;;
5862
esac
5963
fi

0 commit comments

Comments
 (0)