Skip to content

Fix Central release bundling and dry runs - #391

Merged
devopvoid merged 4 commits into
mainfrom
codex/fix-central-release
Oct 16, 2026
Merged

devopvoid merged 4 commits into
mainfrom
codex/fix-central-release

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

The 0.20.0 release uploaded its bundle but failed Central validation because publishing plugin 0.11.0 included Maven 3.10 repository metadata. Upgrade to 0.12.0, which removes that metadata before bundling.

Release dry runs now use the intended release version consistently for platform builds, native tests, and publishing. Replace skipPublishing with skipUpload so dry runs stage and assemble an actual release bundle, and fail if that bundle is missing. Placeholder publishing credentials remain in place for dry runs.

Validation:

  • Maven validation passed for all three publishing modules.
  • YAML parsing, Bash syntax checks, and git diff --check passed.
  • In a temporary POM copy, version conversion updated every module and skipUpload=true produced a release bundle without uploading.
  • Injected maven-metadata-local.xml and _remote.repositories into the temporary staging directory and confirmed neither appeared in the generated ZIP.

Local checks used Maven 3.9.9; full platform CI and a real Central deployment have not been run.

@devopvoid
devopvoid force-pushed the main branch 2 times, most recently from e1384fe to 3a18584 Compare October 16, 2026 16:21
@devopvoid
devopvoid merged commit efac279 into main Oct 16, 2026
35 of 37 checks passed
@devopvoid
devopvoid deleted the codex/fix-central-release branch October 16, 2026 17:20
SendableMetatype added a commit to EduGeyser/webrtc-java that referenced this pull request Oct 18, 2026
Ports upstream's split (devopvoid#391 to devopvoid#393) to the Gradle build. Prepare
release commits the changelog and the versions, pushes main and the tag
in one atomic push, and dispatches Publish release on the tag. Publish
release checks that the tag points to the triggering commit, that the
commit is on main and that its version matches gradle.properties, then
builds and tests every platform, publishes the Maven Central bundle and
drafts the GitHub release. A failed publication can be retried on the
same tag, without preparing a new version.

Every platform job builds the commit that triggered the caller, so the
ref input of the platform and test workflows is gone. A dry run builds,
tests and bundles with the release version, which -Pversion sets, so
the jars and the bundle are named as in a release. Unlike upstream's, a
dry run can check a branch other than main.
SendableMetatype added a commit to EduGeyser/webrtc-java that referenced this pull request Oct 18, 2026
Brings in the work upstream added from October 15 to 17: temporal
layers in the VA-API encoders and VP9 spatial layers in the VA-API
decoder (devopvoid#379 to devopvoid#381, devopvoid#383, devopvoid#388); a standalone voice activity
detector, and checks against using a disposed one (devopvoid#394); the removal
of Logging.logThreads (devopvoid#395); upstream's 0.20.0 release and its release
workflow changes (devopvoid#391 to devopvoid#393); and docs (devopvoid#378, devopvoid#382, devopvoid#384 to devopvoid#386,
devopvoid#389, devopvoid#390).

Fork-side adaptations:
- Logging keeps this fork's design, in which thread IDs and timestamps
  come from system properties read at load time. devopvoid#395's thread IDs that
  are always on and its runtime Logging.logTimestamps are left out. Its
  logging test change, which logs at INFO, is taken.
- The common WebRTC patches of devopvoid#394 are applied on every platform, as
  upstream does. The data channels desktop capture patch joins the patch
  list before it is recorded, so the build record covers it too.
- The data channels variant leaves out the standalone voice activity
  detector, and its test carries the media tag.
- The release workflow stays this fork's Gradle one. Upstream's
  Maven-based split into preparation and tag-scoped publication
  (release-publish.yml and the publish action) is left out, and so is
  its release notes link to jrtc.dev, which documents upstream's
  packages.
- The Maven files stay deleted, and the README and the docs' version
  stay this fork's own.
SendableMetatype added a commit to EduGeyser/webrtc-java that referenced this pull request Oct 18, 2026
Ports upstream's split (devopvoid#391 to devopvoid#393) to the Gradle build. Prepare
release commits the changelog and the versions, pushes main and the tag
in one atomic push, and dispatches Publish release on the tag. Publish
release checks that the tag points to the triggering commit, that the
commit is on main and that its version matches gradle.properties, then
builds and tests every platform, publishes the Maven Central bundle and
drafts the GitHub release. A failed publication can be retried on the
same tag, without preparing a new version.

Every platform job builds the commit that triggered the caller, so the
ref input of the platform and test workflows is gone. A dry run builds,
tests and bundles with the release version, which -Pversion sets, so
the jars and the bundle are named as in a release. Unlike upstream's, a
dry run can check a branch other than main.
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