We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78d28b commit 446a5a7Copy full SHA for 446a5a7
.github/workflows/doc-build.yml
@@ -105,6 +105,8 @@ jobs:
105
if [[ "${REF_TYPE}" == branch ]]; then
106
TARGET_FOLDER="${REF_NAME}"
107
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.
110
case "${REF_NAME}" in
111
*-rc*)
112
echo "Aborting upload since this is an RC tag: ${REF_NAME}"
0 commit comments