Skip to content

Conversation

@dkropachev
Copy link

@dkropachev dkropachev commented Nov 2, 2025

Items:

  1. Redesign release workflow
  2. Drop re-release workflow (to be part of release workflow)
  3. Migrate to new sonatype plugin
  4. Fix all problems with packages to make release actually possible
  5. Downgrade some of the maven plugins due to compatibility issue
  6. Move all plugins version control into main pom.xml

@dkropachev dkropachev force-pushed the dk/update-release-proccess branch from 94fb325 to 514cdfe Compare November 6, 2025 16:48
@dkropachev
Copy link
Author

Release proccess tested here: https://github.com/scylladb/java-driver/actions/runs/19142882731

@dkropachev dkropachev marked this pull request as ready for review November 6, 2025 16:49
@dkropachev dkropachev self-assigned this Nov 6, 2025
@dkropachev dkropachev changed the title Dk/update release proccess Update release proccess Nov 6, 2025
Copy link

@Bouncheck Bouncheck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments to changes that seemed like they need addressing and some bonus questions.

@dkropachev dkropachev force-pushed the dk/update-release-proccess branch from 514cdfe to 0081979 Compare November 7, 2025 14:20
@Bouncheck Bouncheck self-requested a review November 7, 2025 15:06
1. Remove re-release, make it part of the release pipeline
2. Feed gpg passphrase directly to plugins via MAVEN_GPG_PASSPHRASE instead of GPG_PASSPHRASE
3. Add RELEASE_SKIP_TEST to `make release` and `make release-prepare`
4. Move checkout-one-commit-before from cicd to the Makefile
5. Dump release logs to the files
6. Add release.properties to `make clean`
…lishing-maven-plugin

central-publishing-maven-plugin fails for java-driver-distribution, eventhough it is disabled with following error:
```
Failed to execute goal org.sonatype.central:central-publishing-maven-plugin:0.8.0:publish (injected-central-publishing) on project java-driver-distribution: The packaging for this project did not assign a file to the build artifact
```
@dkropachev dkropachev force-pushed the dk/update-release-proccess branch from 756550b to f6ddac4 Compare November 7, 2025 23:21
@dkropachev
Copy link
Author

New sonatype plugin and sonatype central has different requirements from old system.
As result release proccess is broken in multiple steps.
This commit address most of this problems doing the following:
1. Drop old sonatype plugin
2. Move module release skipping to the parent pom.xml
3. Populate missing fields in modules, like description
4. Move all deps version info to parent pom.xml DependencyManagement
5. Move all plugin version info to parent pom.xml PluginManagement
@dkropachev dkropachev force-pushed the dk/update-release-proccess branch from f6ddac4 to 5b3101d Compare November 8, 2025 01:07
@dkropachev dkropachev merged commit c0953b3 into scylladb:scylla-4.x Nov 8, 2025
9 of 10 checks passed
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.

3 participants