A number of things need to be set up before the release procedure can commence.
NOTE: GPG signing is no longer required but we'll leave the process here just in case we need to reinstate it...
Here are the basic instructions to follow to get GPG running: https://github.com/technomancy/leiningen/blob/stable/doc/GPG.md
A few notes for Windows:
gpg --export -a
.Simply need to set up your own account, then get the Day8 Clojars admin to add you to the family. Then you can publish to Day8 Clojars.
Note: If using GPG, your GPG public key from above needs to be pasted into your Clojars profile for this process to work.
More info on deploying libraries using lein: https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md
You should set up your Clojars authentication in your Leiningen profile: ~/.lein/profiles.clj
(or %USERPROFILE%\.lein\profiles.clj
for Windows):
{:user {}
:auth {
:repository-auth {
#"https://clojars.org/repo" {:username "your-username" :password "your-password"}}}}
Note that all these commands are entered at the repo root folder.
[ ] Finish any feature branch you're working on. You should now be on the master branch.
[ ] Update README.md file if required and commit it.
[ ] Close all auto-compiles (command line and/or IntelliJ).
[ ] Build each of these aliases (will require separate terminals for each):
lein dev-auto
lein prod-auto
lein test-auto
[ ] For dev
and prod
, run through each demo page and make sure no errors or debug output appears in the console.
[ ] For test
, make sure all tests pass. Modify code/tests until all tests pass.
[ ] Close all auto-compiles again.
[ ] Push this release to Clojars:
lein release :minor
[ ] Deploy demo to AWS:
lein s3-static-deploy
---
Could have used `lein deploy-aws` but this also builds the `prod` version which we have already just built.
Test it: https://re-com.day8.com.au.
If it can't find the site, you may need to change `index.html` to `index_prod.html` in S3 Browser (although this was unnecessary with the most recent build).
[ ] Create a GitHub Release:
x.x.x
tag at the top.Draft a new release
button.x.x.x
version in the Tag version dropdown.x.x.x
.Publish release
button.Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close