Skip to content

Automate the release process so it can be triggered entirely from the GitHub Actions #189

Description

@Giovds

Update the release-to-central.yml workflow to:

  • Accept a version input via workflow_dispatch so the release version can be specified from the GitHub UI
  • Validate that the provided version is not lower than the current version in pom.xml to prevent deploying versions that could already be in maven central.
  • Automatically run mvn versions:set to update pom.xml to the release version
  • Commit the version change and create a git tag
  • Build, sign, and publish to Maven Central (existing steps)
  • Automatically bump pom.xml to the next patch SNAPSHOT version and commit
  • Push all commits and the tag to main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions