Publish dev builds

This commit is contained in:
Michiel Borkent 2021-12-26 21:15:36 +01:00
parent fb7f984389
commit e710c66dcb
2 changed files with 8 additions and 2 deletions

View file

@ -2,5 +2,5 @@
:deps {borkdude/gh-release-artifact
#_{:local/root "../gh-release-artifact"}
{:git/url "https://github.com/borkdude/gh-release-artifact"
:sha "2f8898d84126a4e922c490f8614211a8b0cf67cd"}}
:sha "20ad5cf8fc58635944889b7c0fc38a8bc32f9f99"}}
:tasks {release-artifact babashka.release-artifact/release}}

View file

@ -22,6 +22,12 @@
(ghr/overwrite-asset {:org "babashka"
:repo "babashka"
:file file
:tag (str "v" current-version)}))
:tag (str "v" current-version)
:draft true})
(ghr/overwrite-asset {:org "babashka"
:repo "babashka-dev-builds"
:file file
:tag (str "v" current-version)
:draft false}))
(println "Skipping release artifact (no GITHUB_TOKEN or not on main branch)"))
nil))