File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -344,8 +344,10 @@ main() {
344344 update_matrix " $adapter_file_zh " " \/\/ DO NOT EDIT THIS LINE, REQUIRED BY RELEASE SCRIPT\." " $adapter_row "
345345
346346 # Update rancher-webhook.adoc
347+ local webhook_version_clean=" ${WEBHOOK_VERSION##* up} "
348+ webhook_version_clean=" ${webhook_version_clean%% -rc* } "
347349 local webhook_row
348- webhook_row=" | ${VERSION} " $' \n ' " | v${WEBHOOK_VERSION ##* up } " $' \n ' " | ${webhook_prime_mark} " $' \n ' " | ${webhook_community_mark} " $' \n '
350+ webhook_row=" | ${VERSION} " $' \n ' " | v${webhook_version_clean } " $' \n ' " | ${webhook_prime_mark} " $' \n ' " | ${webhook_community_mark} " $' \n '
349351 # The marker is different here, it's a comment
350352 update_matrix " $webhook_file_en " " \/\/ DO NOT EDIT THIS LINE, REQUIRED BY RELEASE SCRIPT\." " $webhook_row "
351353 update_matrix " $webhook_file_zh " " \/\/ DO NOT EDIT THIS LINE, REQUIRED BY RELEASE SCRIPT\." " $webhook_row "
You can’t perform that action at this time.
0 commit comments