fix(publish): robust error handling, republish mode, separate tag/branch push
- Fix 404 error handling: no longer incorrectly marks failed publishes as 'already published' - Add REPUBLISH mode: allows re-publishing missing platform packages without version check - Separate tag and branch push: tag push (critical) succeeds even if branch push fails - Fix changelog for beta releases: compares against previous beta tag instead of latest stable - Add checkPackageVersionExists for accurate E403 error handling
This commit is contained in:
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -22,6 +22,11 @@ on:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
republish:
|
||||
description: "Re-publish mode: skip version check, only publish missing packages"
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -144,6 +149,7 @@ jobs:
|
||||
BUMP: ${{ inputs.bump }}
|
||||
VERSION: ${{ inputs.version }}
|
||||
SKIP_PLATFORM_PACKAGES: ${{ inputs.skip_platform }}
|
||||
REPUBLISH: ${{ inputs.republish }}
|
||||
CI: true
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
|
||||
Reference in New Issue
Block a user