-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
548e203
commit 10a5d42
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Releasing | ||
|
||
In order to be able to release, you'll need an account at [https://oss.sonatype.org/](https://oss.sonatype.org/), and admin access to the repo. | ||
|
||
To create an account, ask around the slack (if you're not working at Touchlab, this page isn't for you anyway. Sorry :( ) | ||
|
||
Steps: | ||
|
||
1. Make sure any PR's are applied and the release is ready to be published. | ||
2. Switch to the branch you'll release from, and `git pull` the latest. | ||
3. Change the version in `gradle.properties`. | ||
4. Git add/commit with message "Version _._._" | ||
5. Push that change (directly to the branch, no PR). | ||
6. Open Actions, select the `deploy` workflow on the left. | ||
7. Select `Run Workflow` on the right, pick the branch, and click `Run Workflow`. | ||
8. When complete, log into [https://oss.sonatype.org/](https://oss.sonatype.org/). | ||
9. Select `Staging Profiles` on the left. | ||
10. Visually review the pushed artifacts (briefly). Just get a sense that it looks correct. | ||
11. Select all and click `Close`. | ||
12. Hit the Refresh button periodically. Not the browser refresh. There's a button on the page called "Refresh". | ||
13. It'll take a while. Eventually `Release` will be enabled. Click that. | ||
14. To check status, look for the library in [https://repo1.maven.org/maven2/co/touchlab/](https://repo1.maven.org/maven2/co/touchlab/), find an artifact, and refresh until the version you just published shows up. |