Repository navigation
Add releaseAll.sh for combined Central releases - #476
Merged
Merged
Conversation
Published subprojects already list their own versions through the nexus-release-plugin task, so the root task repeated every module. The root task now only checks the Maven-built matrix-bom and matrix-all (the latter was previously missing), with connect/read timeouts. In release mode the plugin's root task is disabled and delegates to the same check, so both modes list each module once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds
releaseAll.shto release eligible, unreleased, non-SNAPSHOT Gradle modules, matrix-bom and matrix-all in one signed Maven-layout ZIP and one Central deployment. Existing separate-release scripts remain available.Production compile dependencies (including compileOnly) participate in eligibility; exclusions cascade, selected BOM pins must match, and already-released pins for unselected modules remain valid. Clean-source manifests guard staging, bundling and upload. Maven verification reuses the portable BOM API/japicmp verifier with immutable staging and a separate repository. External prerequisites run before scoped verification; GSheets preflight remains unpublished.
Depends on the enhancement in Alipsa/nexus-release-plugin#6. Development release commands use the explicit sibling composite; ordinary Matrix builds retain their published plugin version. Publishing the enhanced plugin and switching that version remain a separate release step.
Validation passed locally on macOS:
./releaseAll.sh --dry-run: empty selection for current SNAPSHOT versions, no tests/signing/staging/upload.Exact commands and results are recorded in
req/releaseAll-plan.md; usage/defaults/recovery are indocs/releaseAll.md. The small matrix-pict test change fixes a pre-existing CodeNarc violation while preserving its JavaFX-absence assertion.CI checks portable tools on macOS/Linux and both BOM verifier modes on Linux. Live sanitized Portal fixture capture remains pending because publisher credentials are unavailable; absence-based discovery and real uploads fail closed until it is confirmed. Existing Docker-unavailable skips and japicmp compatibility warnings are preserved. No versions, baseline or Git tags were changed and no artifacts were published.
Review fixes address all six findings: missing GSheets authentication import (both external entry points exercised offline), manifest staging beyond BOM pins, read-only symlink canonicalization with strict writable-path guards, lazy inventory classpath resolution, temporary verifier settings, and inherited Java/Groovy nested-class tags/Disabled annotations.
Additional local verification passed:
./gradlew test -Pheadless=true --no-configuration-cache --max-workers=3.test-auth-classpath.groovy.Exact commands are recorded in plan section 7. CI for these fixes: https://github.com/Alipsa/matrix/actions/runs/37993222681 (queued at update).