Skip to content

fix(ci): make publish-maven resumable with -Pskip_existing - #42

Merged
THEROER merged 1 commit into
mainfrom
fix/publish-skip-existing
Jul 31, 2026
Merged

fix(ci): make publish-maven resumable with -Pskip_existing#42
THEROER merged 1 commit into
mainfrom
fix/publish-skip-existing

Conversation

@THEROER

@THEROER THEROER commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Reposilite's releases repo refuses overwrites (409 Conflict), so any publish run that touches an artifact a previous run already uploaded fails — which is precisely what a resumed release is. -Pskip_existing is already the default on the local release path (releaseMaven* passes it); this brings the workflow in line.

Hit while finishing 1.27.4: a partial local publish had landed the modules, so every matrix job then died on the first module it tried to re-upload, and the bundles — the artifacts that still needed publishing — never got their turn.

Reposilite's releases repo refuses overwrites, so a publish run that covers any
artifact a previous run already uploaded dies with 409 Conflict — which is
exactly what a resumed release does. -Pskip_existing (already the default on the
local release path) HEADs each POM and skips what is present, so re-running the
workflow only uploads what is missing.

Hit while finishing 1.27.4: the modules had landed from a partial local publish,
and every matrix job then failed on the first module it re-uploaded, leaving the
bundles — the artifacts that actually still needed publishing — unpublished.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Bt7RgUQ8kNZGgF4DBBUpj
@THEROER
THEROER merged commit 331b7e7 into main Jul 31, 2026
8 checks passed
THEROER added a commit that referenced this pull request Jul 31, 2026
fix(ci): make publish-maven resumable with -Pskip_existing
@THEROER
THEROER deleted the fix/publish-skip-existing branch July 31, 2026 21:31
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.

1 participant