Repository navigation
Attach the pom to the GitHub releases and prune the snapshot pre-release - #223
Merged
Merged
Conversation
The collect steps of publish-snapshot and publish-release copy <artifactId>-<version>.pom with its .pom.asc next to the jars (maven-gpg writes both into target/; Central had them, the GitHub release did not). The signature check of the attach jobs counts every attachable type (*.jar, *.aar, *.pom) instead of jars alone; the attach-first contract is unchanged. github-snapshot ends by deleting every asset the run did not upload: gh release upload --clobber never removed anything, so the snapshot release accumulated 16 stale assets, the old llamacpp-ai-index-maven-plugin snapshots and four SpotBugs plugin jars an old collect step attached in 2026-05/06. The keep-set is the uploaded directory, never a version pattern; the step runs after the upload and prints each deletion by name. github-release never deletes anything. github-snapshot and github-release stay byte-identical with the two sibling repositories (the manifest is rewritten with check-shared-files.py --write). check-run-scripts, check-release-gate and the buildcheck suite green. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AytmJF9faEiQEVt6eetQS2
bernardladenthin
had a problem deploying
to
maven-central
October 12, 2026 06:43 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
October 12, 2026 06:43 — with
GitHub Actions
Failure
This was referenced Oct 12, 2026
5 of 6 tasks
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cross-repo change (java-llama.cpp, BitcoinAddressFinder, streambuffer, this repository): the GitHub release assets were incomplete against Maven Central and the
snapshotpre-release accumulated. Measured, not suspected: this repository'ssnapshotrelease holds 16 assets and every one is stale -- the 0.1.0 / 1.0.1 snapshots of the oldllamacpp-ai-index-maven-plugincoordinates and four SpotBugs plugin jars (fb-contrib-7.6.4,fb-contrib-7.7.4,findsecbugs-plugin-1.13.0,findsecbugs-plugin-1.14.0) an old collect step uploaded fromtarget/spotbugs/in 2026-05/06.publish-snapshotandpublish-release): the reactor loop now covers.(thesrcmorph-parentpom, a Central artifact of its own) and copies<artifactId>-<version>.pom+.pom.ascnext to the jars of every module (maven-gpg writes both intotarget/); the fat-jar exclusion is unchanged.*.jar,*.aar,*.pom) instead of jars alone; the attach-first contract (annotate, upload anyway, fail afterwards) is unchanged.github-snapshotprunes: a new step after the upload deletes every asset the run did not upload, each printed by name. The keep-set is the uploaded directory, never a version pattern.github-releasenever deletes.github-snapshot/github-releasestay byte-identical with BitcoinAddressFinder and streambuffer; the manifest is rewritten withcheck-shared-files.py --write(theshared-filesjob warns about the siblings until their PRs are merged, as on every sync).fat-jar-release-assets.md).Test plan
gh: deletes exactly the names not in the upload, prints each, no-op message when nothing is stale; the report step:missing=1for an unsigned artifact,missing=-1for an empty directorytarget/<artifactId>-<version>.pom+.pom.ascnaming verified with a throwaway key, for jar and pom packagingcheck-run-scripts.py,check-release-gate.py,check-shared-files.py --offline, buildcheck unit testsRelated issues / PRs
Checklist
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdSECURITY.md)🤖 Generated with Claude Code
https://claude.ai/code/session_01AytmJF9faEiQEVt6eetQS2
Generated by Claude Code