-
Notifications
You must be signed in to change notification settings - Fork 173
Releasing a version
Oryan edited this page Mar 25, 2026
·
15 revisions
- (Optionally) set the release version in the pom file, it should end with
SNAPSHOT - Update the version in the documentation files
- Go to
Actions > Release > Run Workflowand run the workflow onmaster- This should publish the release to Maven Central automatically
- And open a new PR with a version bump changes
- Review and merge the PR that was created by the workflow
- Create a new release on GitHub from the tag that was just created
Deployments are made to Maven Central on the io.github.graphql-java-kickstart namespace using a user token that is stored as a secret in this Github repositoy (OSS_USER_TOKEN_KEY|PASS) and used during the release Github action.
It is also possible to deploy a snapshot locally by running mvn clean deploy with .m2/setting.xml configured to use the same token:
<servers>
<server>
<id>central</id>
<username>{token-user}</username>
<password>{token-pass}</password>
</server>
</servers>