Skip to content

Commit 446a5a7

Browse files
committed
Address comments
1 parent b78d28b commit 446a5a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/doc-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ jobs:
105105
if [[ "${REF_TYPE}" == branch ]]; then
106106
TARGET_FOLDER="${REF_NAME}"
107107
elif [[ "${REF_TYPE}" == tag ]]; then
108+
# Strip the leading "v" as well as the trailing patch version and "-rc" suffix.
109+
# For example: 'v0.1.2' -> '0.1' and 'v0.1.2-rc1' -> 0.1.
108110
case "${REF_NAME}" in
109111
*-rc*)
110112
echo "Aborting upload since this is an RC tag: ${REF_NAME}"

0 commit comments

Comments
 (0)