hashobject / perun

Programmable static site generator built with Clojure and Boot (HELP NEEDED!)
https://perun.io
Eclipse Public License 1.0
351 stars 38 forks source link

Setup CircleCI and automatic releases #252

Closed arichiardi closed 3 years ago

arichiardi commented 3 years ago

This patch introduce the configuration necessary for building and deploying perun to Clojars. This happens when a tag is pushed to the master branch.

The code is also now using degree9/boot-semver and its version.properties file.

~I am just waiting for a resolution for https://github.com/degree9/boot-semver/pull/76 and then it should be good to go.~

I tried it against my custom https://clojars.org/powerlaces/perun and it worked like a charm with my own deploy tokens.

Of course I can help with the setup once this is merged - I would need admin privileges even if for a very short time for the project and also collaborator privileges on Clojars.

Oh I also tweaked and added the MAINTAINERS.md file.

arichiardi commented 3 years ago

This is now ready!

arichiardi commented 3 years ago

@allentiak @podviaznikov in order for me to complete this please add me as admin (or directly add the project to CircleCI) and as collaborator on Clojars so that I can create a deploy token...or you can add the token after I configured things but I'd rather do this myself in order to speed things up.

allentiak commented 3 years ago

@allentiak @podviaznikov in order for me to complete this please add me as admin (or directly add the project to CircleCI) and as collaborator on Clojars

Done. (BTW: You were already an admin on clojars :-)

arichiardi commented 3 years ago

Some of the tests are not working cause there are a couple of binaries missing: pandoc, lessc ... there might be more.

arichiardi commented 3 years ago

~As per Slack conversation, I cannot generate deploy tokens with my Clojars user.~

~I am going to merge this one in but I'd need either @allentiak or @podviaznikov to add the token to~

The :upside_down_face: is not necessary anymore. I have configured it with a token and my username so next time we push a release tag to master everything should get deployed!

allentiak commented 3 years ago

Thanks for your work, Andrea!