The release process is partially automated via GitHub Actions. Here’s how it works:
-
Triggering the Generator Workflow
- After a release is created in the main branch of main Permify repository, the generator workflow will be triggered automatically.
- If it does not trigger automatically, it can be run manually using Workflow Dispatch.
-
Pull Request Creation & Merge
- The generator workflow will create a pull request and merge it back into the repository.
-
Dependency Check & Build
- Ensure that the dependency versions in
build.gradlematch those inpom.xml. - Run a clean build:
./gradlew clean build
- Ensure that the dependency versions in
-
Deployment
- Deployment to Maven Central (Sonatype) is not yet configured in GitHub Actions.
- To publish locally:
- Configure your Sonatype credentials (
usernameandpassword) ingradle.properties. - Run:
./gradlew sonatypeCentralUpload
- Configure your Sonatype credentials (
- This will push the artifact to the Maven Central registry.