Skip to content

[Feature] Automate Java SDK release process #299

@dyeam0

Description

@dyeam0

Checklist

Describe the problem you'd like to have solved

Currently, the java-sdk requires manual intervention for versioning and publishing. This manual overhead includes version updates and release tag creation. This creates friction that slows down the delivery of features and fixes.

Following the initiative described in parent SDK generator issue openfga/sdk-generator#679, we want to automate the process so the SDK is always in a deliverable state, and releasing a new version is as simple as a single manual trigger.

Describe the ideal solution

The solution implements logic for Java-specific artifacts and workflows necessary to support the automation requirements outlined in the parent issue. While the core logic is handled by the SDK generator, this repository must manage the specific mechanics of the Java/Maven ecosystem.

  • Release Tag Management: Implementation must ensure that semantic version tags (ex., v0.9.x, v1.x.y) are used and follow package conventions.
  • Ecosystem: The workflow should ensure the new release package is correctly indexed and discoverable within the Java/Maven ecosystem.
  • GitHub Release: Automate the creation of the GitHub Release tied to the new tag, incorporating the generated changelog as described in the parent issue.
  • Changelog: The automated changelog should be seamlessly included in the GitHub Release notes during the tag creation process.

Alternatives and current workarounds

See parent: openfga/sdk-generator#679

References

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    On deck

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions