You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+12-8
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,18 @@ This project is hosted on [Clojars][clojars]. You can see it [here][release-sit
4
4
5
5
Releasing the project requires these steps:
6
6
7
-
0. Set the version number in the project.clj file.
8
-
1. Run ```lein do clean, test``` to ensure everything is working as expected.
9
-
2. Use a GitHub [project release][github-release-url] to release the project and tag (be sure it follows [semver][semantic-versioning])
10
-
3. Run ```lein deploy clojars``` to deploy the project to the Clojars repository.
11
-
4. Update `main` to a new minor version
7
+
0. Assert all tests are passing and the project builds : `lein do clean, test`
8
+
1. Make sure CHANGELOG.md is up-to-date for the upcoming release.
9
+
2. Assert you have Github setup with [gpg](https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-gpg-key-to-your-github-account)
10
+
3. Add gpg key to [sign](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) your commits
11
+
* GPG will likely require an additional export to spawn an interactive prompt for signing:
12
+
```export GPG_TTY=$(tty)```
13
+
4. Create a [Clojars][clojars] Account and [Deploy Token](https://github.com/clojars/clojars-web/wiki/Deploy-Tokens) if you do not already have one.
14
+
5. Create a lein [credentials](https://leiningen.org/deploy.html#gpg) file using the account and token above.
15
+
6. Run `lein release <release-type>`, where release-type is one of `:patch`,`:minor` and `:major`
0 commit comments