Skip to content

Commit

Permalink
update release process
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisives committed Nov 29, 2023
1 parent 68b4622 commit 1a8a18c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions gradle/deploy-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ Release is done via a merged pull request to main/v0/v1 and then creating a rele
- Action starts that pushes the package to MavenCentral.
- You can check OSSRH whether release was successful or not.

## Steps for v0 and v1

- update CHANGELOG.md
- update the version in `gradle.properties`. Needs to be done manually because the new tag task works for main branch only.
- merge the PR to the `v0`/`v1` branch
- Create release tag manually
- Create a release from this tag

❗Release the v0 and v1 first if releasing all versions. This way the v2 is the latest in the Releases changelog.

## Make a test release locally to staging

- comment out line `useInMemoryPgpKeys(signingKey, signingPassword)` in deploy-ossrh.gradle
- Update version in `$projectRoot/gradle.properties` and call `./gradlew -Prelease :hmkit-fleet:publishToSonatype`.
- Don't merge test version names to main

## Steps for v0 and v1

- Same steps as in v2, but merge the PR to the `v0`/`v1` branch.
- The new tag task will fail. So you need to create the tag manually and push it. Create the release from this manual tag.
- ❗Release the v0 and v1 first if releasing all. This way the v2 is the latest in the Releases changelog.
- Don't merge test version names to main

0 comments on commit 1a8a18c

Please sign in to comment.