Repository navigation
Attach the pom to the GitHub releases and prune the snapshot pre-release - #177
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 the 1.2.0-SNAPSHOT jars and three SpotBugs plugin jars an old collect step attached in 2026-05. 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:44 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
October 12, 2026 06:44 — with
GitHub Actions
Failure
4 tasks done
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #177 +/- ##
=========================================
Coverage 96.99% 96.99%
Complexity 116 116
=========================================
Files 1 1
Lines 266 266
Branches 29 29
=========================================
Hits 258 258
Misses 2 2
Partials 6 6 ☔ View full report in Codecov by Harness. |
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, srcmorph, this repository): the GitHub release assets were incomplete against Maven Central and the
snapshotpre-release accumulated. Measured, not suspected: this repository'ssnapshotrelease holds 11 assets, five of them stale -- the 1.2.0-SNAPSHOT jar and javadoc jar (unsigned, from before the signature check existed) and three SpotBugs plugin jars (fb-contrib-7.6.4,fb-contrib-7.7.4,findsecbugs-plugin-1.14.0) an old collect step uploaded fromtarget/spotbugs/in 2026-05.publish-snapshotandpublish-release):<artifactId>-<version>.pom+.pom.ascnext to the jars (maven-gpg writes both intotarget/; Central had them, the release did not).*.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 srcmorph; 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
publish.ymlrun against a stubbedghand fake asset sets: deletes exactly the names not in the upload and prints each;missing=1for an unsigned artifact,missing=-1for an empty directorytarget/<artifactId>-<version>.pom+.pom.ascnaming verified with a throwaway keycheck-run-scripts.py(59 scripts parse),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