Skip to content

build(release): avoid AR publishing for dry runs - #37

Merged
jradcliff merged 1 commit into
mainfrom
dryrun
Sep 21, 2026
Merged

jradcliff merged 1 commit into
mainfrom
dryrun

Conversation

@jradcliff

Copy link
Copy Markdown
Member

The Artifact Registry enforces NPM version immutability, so a version is consumed and can't be reused as soon as it is uploaded. This differs from other languages, where a version isn't consumed until a manifest upload triggers publishing.

This change moves the dry run check to before the AR upload to avoid consuming semantic versions during testing.

Change-Id: Iee20ed0b7fbc85a573568762a641b77be1330a9f

@jradcliff
jradcliff force-pushed the dryrun branch 2 times, most recently from 3086d17 to 9ab6fad Compare September 21, 2026 16:48
The Artifact Registry enforces NPM version immutability, so a version is
consumed and can't be reused as soon as it is uploaded. This differs
from other languages, where a version isn't consumed until a manifest
upload triggers publishing.

This change moves the dry run check to *before* the AR upload to
avoid consuming semantic versions during testing.

Change-Id: Iee20ed0b7fbc85a573568762a641b77be1330a9f
@jradcliff
jradcliff merged commit b10631f into main Sep 21, 2026
10 checks passed
@jradcliff
jradcliff deleted the dryrun branch September 21, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants