diff --git a/.github/actions/publish-release/action.yml b/.github/actions/publish-release/action.yml index 63fbb22842..36ac640b97 100644 --- a/.github/actions/publish-release/action.yml +++ b/.github/actions/publish-release/action.yml @@ -172,7 +172,7 @@ runs: --workspace="${INPUTS_CORE_PACKAGE_NAME}" \ --tag staging-tmp if [[ "${INPUTS_DRY_RUN}" == "false" ]]; then - npm dist-tag rm ${INPUTS_CORE_PACKAGE_NAME} staging-tmp + npm dist-tag rm ${INPUTS_CORE_PACKAGE_NAME} staging-tmp || echo "Warning: Failed to remove staging-tmp tag (this is normal on registries that forbid tag deletion, like Wombat)" fi - name: '🔗 Install latest core package' @@ -251,7 +251,7 @@ runs: ${PUBLISH_TARGET} \ --tag staging-tmp if [[ "${INPUTS_DRY_RUN}" == "false" ]]; then - npm dist-tag rm ${INPUTS_CLI_PACKAGE_NAME} staging-tmp + npm dist-tag rm ${INPUTS_CLI_PACKAGE_NAME} staging-tmp || echo "Warning: Failed to remove staging-tmp tag (this is normal on registries that forbid tag deletion, like Wombat)" fi - name: 'Get a2a-server Token' @@ -278,9 +278,9 @@ runs: --dry-run="${INPUTS_DRY_RUN}" \ --workspace="${INPUTS_A2A_PACKAGE_NAME}" \ --tag staging-tmp - if [[ "${INPUTS_DRY_RUN}" == "false" ]]; then - npm dist-tag rm ${INPUTS_A2A_PACKAGE_NAME} staging-tmp - fi + if [[ "${INPUTS_DRY_RUN}" == "false" ]]; then + npm dist-tag rm ${INPUTS_A2A_PACKAGE_NAME} staging-tmp || echo "Warning: Failed to remove staging-tmp tag (this is normal on registries that forbid tag deletion, like Wombat)" + fi - name: '🏷️ Tag release' uses: './.github/actions/tag-npm-release'