-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Create a github action that release on Maven when we create a tag #276
Comments
To create a release: 1) Set the credentials to be able to push to nexus:
2) Change the version and commit. 2a) change the version from When commit 2b) change the version from For this complete Then the plugin is performing the same step when running 3) Activities in Nexus In the Staging Repositories (https://oss.sonatype.org/#stagingRepositories) Select the corresponding repository (example
It is also possible to automate those steps inside the gradle plugin (probably nexus publishing). 4) Other prerequite You need to be able to sign (GPG) your jars and upload the signature to Nexus. But you need to have the infrastructure available on the build machine. |
FYI. To sign the JAR, run the following:
where 3E99C7FD4C83EB0E56D5503678737DD36C998877 is the key name one can find from |
The goal of this task is to automate an event when someone creates a tag.
As soon as the tag is created, the associated github action is started and all the steps of a release would be automatically done.
Minutes later, we would have access to the latest version on Maven.
First step is to retrieve the step of the release process from @jmini and to code them in a github action script. Then, get the proper access and put them in the secrets. Then testing with a real release.
The text was updated successfully, but these errors were encountered: