Skip to content

Commit

Permalink
Release automation improvements
Browse files Browse the repository at this point in the history
- `lein uberjar` builds plain jar & uberjar. We only need the plain jar.
- Simpler release instructions
  • Loading branch information
opqdonut committed Sep 16, 2021
1 parent 404bbe1 commit 028b4bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
lein: latest
- name: Run tests
run: lein test
- name: Build uberjar
run: lein uberjar
- name: Build jar
run: lein jar
- name: Deploy to Clojars
run: lein deploy
env:
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,9 @@ These include: `status`, `header`, `file-response`, `content-type`, `find-header
## Making a release

- Update `CHANGELOG.md` and increment the version number in `project.clj`
- Commit
- Tag with the release number
- Push to Github
- Create a Github release by editing the tag you just created on <https://github.com/metosin/ring-http-response/tags>
- Commit and push to Github
- Create a Github release [here](https://github.com/metosin/ring-http-response/releases)
- Use the version number of the release for the tag name
- The [Github Actions release workflow](.github/workflows/release.yml) should fire and deploy a release to clojars

## License
Expand Down

0 comments on commit 028b4bf

Please sign in to comment.