Skip to content

Publish releases to the Code Genome Project as well as the plugin portal - #474

Merged
timtebeek merged 2 commits into
mainfrom
tim/v7-40-0-missing-from-artifacts
Aug 26, 2026
Merged

Publish releases to the Code Genome Project as well as the plugin portal#474
timtebeek merged 2 commits into
mainfrom
tim/v7-40-0-missing-from-artifacts

Conversation

@timtebeek

@timtebeek timtebeek commented Aug 26, 2026

Copy link
Copy Markdown
Member

Why v7.40.0 is missing from CGP

The v7.40.0 release job
confirms it — the task list ends at:

> Task :plugin:publishPlugins
> Task :postRelease
> Task :final
BUILD SUCCESSFUL in 54s

No publishPluginMavenPublicationToCgpRepository, so the artifact went to the
Gradle Plugin Portal and nothing was uploaded to
s3://codegenome-artifacts/maven. Hence the empty
org/openrewrite/plugin/ on artifacts.codegenomeproject.org. Nothing failed;
the step was simply never asked to run.

Fix

Adds :plugin:publishPluginMavenPublicationToCgpRepository and the
CGP_AWS_* credentials to both the candidate and release steps, mirroring
what ci.yml already does for snapshots.

Backfilling 7.40.0

This only fixes releases from here on. 7.40.0 itself still needs a one-off
upload — either a local run with the CGP AWS credentials:

./gradlew -Preleasing -Prelease.useLastTag=true \
  :plugin:publishPluginMavenPublicationToCgpRepository

or cutting v7.40.1 once this merges. Re-running the existing tag's workflow
won't help: it would use the workflow file as of that tag, and publishPlugins
would fail on an already-published version.

The CGP cutover in #467 pointed the ci.yml snapshot step at
publishPluginMavenPublicationToCgpRepository but left publish.yml alone, so
tagged releases only ran publishPlugins. v7.40.0 landed on the Gradle Plugin
Portal and never reached artifacts.codegenomeproject.org.

Adds the CGP publish task and its AWS credentials to both the candidate and
release steps, mirroring ci.yml.
@github-project-automation github-project-automation Bot moved this from In Progress to Ready to Review in OpenRewrite Aug 26, 2026
@timtebeek
timtebeek merged commit 6860c55 into main Aug 26, 2026
@timtebeek
timtebeek deleted the tim/v7-40-0-missing-from-artifacts branch August 26, 2026 19:59
@github-project-automation github-project-automation Bot moved this from Ready to Review to Done in OpenRewrite Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants