Skip to content

ci: pre-clear stale staging versions in build script prior to deployment#412

Merged
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:ci-allow-staged-artifact-fallback
Jul 23, 2026
Merged

ci: pre-clear stale staging versions in build script prior to deployment#412
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:ci-allow-staged-artifact-fallback

Conversation

@AnshulPatni

Copy link
Copy Markdown
Contributor

Update release build script to pre-emptively remove un-promoted staging package versions from the internal artifact repository prior to running mvn clean deploy.

If a previous release attempt failed post-staging but prior to registry promotion, leftover staging package versions can cause subsequent deployment attempts to fail due to artifact version immutability policies. Executing version cleanup under the CI builder service account privileges prior to deployment ensures clean, reproducible release staging runs.

… build script

Change-Id: Iff3f42a6adee08367b8eadfe6a78228efa2b060e
@AnshulPatni
AnshulPatni requested a review from taeold July 23, 2026 15:45
@AnshulPatni
AnshulPatni merged commit 66d088c into GoogleCloudPlatform:main Jul 23, 2026
25 of 26 checks passed
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