Skip to content

Commit

Permalink
Releasing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Aug 26, 2021
1 parent 548e203 commit 10a5d42
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions RELEASING.md
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.

0 comments on commit 10a5d42

Please sign in to comment.