Skip to content

Releasing a version

Oryan edited this page Mar 25, 2026 · 15 revisions

Steps to release a new version

  1. (Optionally) set the release version in the pom file, it should end with SNAPSHOT
  2. Update the version in the documentation files
  3. Go to Actions > Release > Run Workflow and run the workflow on master
    1. This should publish the release to Maven Central automatically
    2. And open a new PR with a version bump changes
  4. Review and merge the PR that was created by the workflow
  5. Create a new release on GitHub from the tag that was just created

Maven Central

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>

Clone this wiki locally