Skip to content

Commit e84a57b

Browse files
committed
Update release instructions to reflect new Maven Central release process.
1 parent ce610ee commit e84a57b

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,23 @@ Perform the following steps to create a release.
7272
- Commit the changes
7373
- Wait until CI builds the release candidate
7474
- Run the command `mkrelease cthing-projectversion <version>`
75-
- In a browser go to the [Maven Central Repository Manager](https://s01.oss.sonatype.org/)
75+
- In a browser go to the [Maven Central Repository](https://central.sonatype.com/)
7676
- Log in
77-
- Use the `Staging Upload` to upload the generated artifact bundle `cthing-projectversion-bundle-<version>.jar`
78-
- Click on `Staging Repositories`
79-
- Once it is enabled, press `Release` to release the artifacts to Maven Central
77+
- Select `Publish` from the menubar
78+
- Press `Publish Component`
79+
- Enter a name for the deployment
80+
- Choose the file `cthing-projectversion-bundle-<version>.zip`
81+
- Press `Publish Component`
82+
- Refresh the page until the deployment has been validated
83+
- Press `Publish`
84+
- Refresh the page until the status is `Published`
8085
- Log out
81-
- Wait for the new release to be available on Maven Central
86+
- Delete the file `cthing-projectversion-bundle-<version>.zip`
8287
- In a browser, go to the project on GitHub
8388
- Generate a release with the tag `<version>`
84-
- In the build.gradle.kts file
85-
- Increment the `baseVersion` patch number
86-
- Set `isSnapshot` to `true`
89+
- In the build.gradle.kts file, edit the `ProjectVersion` object
90+
- Increment the version patch number
91+
- Set the build type to `BuildType.snapshot`
8792
- Update the `CHANGELOG.md` with the changes in the release and prepare for next release changes
8893
- Update the `Usage` section in the `README.md` with the latest artifact release version
8994
- Commit these changes

0 commit comments

Comments
 (0)