This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-17
Channels
- # aleph (4)
- # announcements (2)
- # babashka (85)
- # beginners (136)
- # calva (72)
- # clj-commons (32)
- # clj-kondo (7)
- # cljs-dev (3)
- # clojure (117)
- # clojure-europe (38)
- # clojure-nl (3)
- # clojure-norway (1)
- # clojure-uk (4)
- # clojurescript (19)
- # conjure (38)
- # core-logic (2)
- # cursive (10)
- # datalevin (1)
- # datalog (1)
- # datomic (6)
- # events (2)
- # fulcro (16)
- # google-cloud (5)
- # graphql (10)
- # gratitude (3)
- # hugsql (3)
- # luminus (5)
- # membrane-term (12)
- # missionary (2)
- # nextjournal (5)
- # off-topic (3)
- # pedestal (2)
- # polylith (7)
- # portal (3)
- # re-frame (6)
- # reagent (26)
- # reclojure (8)
- # releases (3)
- # reveal (5)
- # shadow-cljs (14)
- # spacemacs (20)
- # sql (3)
- # tools-build (3)
- # web-security (9)
Transfer initiated! 🙂
I guess we should get a first clj-commons release of clj-http-lite. @borkdude are you ok if I do that?
There is some more to this, but basically he has the whole “deploy-to-clojars-by-pushing-a-tag” going for that project.
I have several of my projects auto-deploying SNAPSHOT builds to Clojars on every successful main branch CI run (via GH actions). I've been toying with the idea of automating releases but I'm still a bit paranoid about that last step 🙂
Yeah, I've been considering it.
I decided to do it on push tags v*
which triggers it when I cut a release on GH -- so I still have full control over change logs and release notes and no longer need to manually do the ci/deploy step locally 🙂
@seancorfield I have automated releases with automatic uploading of artifacts (even from different build environments to one release: Circle, Appveyor) but it puts the release in draft. Then when every process has uploaded its thing, I publish it from draft to public.
This is my personal lib I use in several builds: https://github.com/borkdude/gh-release-artifact
Interesting approach. You're not uploading those to Clojars tho', right?
Oh you mean, non-SNAPSHOT releases? Why would you think it's safer to do this from your own machine rather than from CI?
I would think the reverse. It happened to me more than once that I compiled some Java sources using JVM 11 and someone on 8 couldn't use it.
I don't have to worry about Java or AOT but I guess I still view non-snapshot releases as "Important(™)" and so they should be deliberate and not quite as automated. But I could add a manual GH action for it since the only difference is whether I specify :snapshot true
for my build action or not...
Y'all convinced me. next.jdbc
1.2.753 was an automated release to Clojars from GH Actions. Thank you for the "push". I'll update other repos as I get close to releases...
I created a release on github. Which is my normal process for a release. And then github actions built the jar and pushed it to Clojars with no further work from me.
So "create a release" = "push a tag"
@UK0810AQ2 I create a release on github so that I can draft proper release notes. That triggers the tag-based Action.