guardian-for-apache-kafka
guardian-for-apache-kafka copied to clipboard
Figure out how to automatically publish to Sonatype
What is currently missing?
Currently the project is using sbt-release in order to do publishing (see https://github.com/aiven/guardian-for-apache-kafka/blob/main/build.sbt#L223-L239) . This is currently done as a manual step however ideally it should be done automatically.
How could this be improved?
sbt-github-actions allows you to automatically publish a library within CI (see https://github.com/djspiewak/sbt-github-actions#integration-with-sbt-ci-release). This uses another plugin instead of sbt-release so we should figure out what is the most ideal way to do this. I believe the way this is done is by creating a pull request that changes the version from a SNAPSHOT
to a whole release which triggers a build.
The credentials for our sonatype account should also be stored as github actions secrets
Is this a feature you would work on yourself?
- [ ] I plan to open a pull request for this feature