Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to automatically publish to Sonatype #41

Open
1 task
mdedetrich opened this issue Aug 30, 2021 · 0 comments
Open
1 task

Figure out how to automatically publish to Sonatype #41

mdedetrich opened this issue Aug 30, 2021 · 0 comments

Comments

@mdedetrich
Copy link
Contributor

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
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

No branches or pull requests

1 participant