You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
1) Set the credentials to be able to push to nexus:
export SONATYPE_USER=<user name (best is to use a token)>
export SONATYPE_PASSWORD=<password (best is to use a token)>
2) Change the version and commit.
2a) change the version from a.b-SNAPSHOT to a.b => Example e700b5f
When commit (2a) is created, run ./gradlew publishToSonatype
Create tag a.b on commit (2a) and push it.
2b) change the version from a.b to a.(b+1)-SNAPSHOT => Example 0dcdfd5
For this complete 2) bock an alternative is to use the plugin id 'net.researchgate.release' version '2.6.0'
Check the project https://github.com/OpenAPITools/empoa/
Then the plugin is performing the same step when running ./gradlew release -Prelease.useAutomaticVersion=true
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: