Fix #1369: provide .sha256 files for every released asset

This commit is contained in:
Michiel Borkent 2022-10-06 14:12:13 +02:00
parent 851e1f5eb0
commit 2dac7847a8
3 changed files with 8 additions and 3 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 "cf082df46a648178d1904e9cbcb787d8136a35c6"}}
:git/sha "ce060c12a25b552b864dc90f8fb344a2eb91ea9d"}}
:tasks {release-artifact babashka.release-artifact/release}}

View file

@ -9,6 +9,7 @@ A preview of the next release can be installed from
- Add single argument read method support to PipedInputStream proxy ([@retrogradeorbit](https://github.com/retrogradeorbit))
- feat: Honor `*print-namespace-maps*` in pprint ([@ghoseb](https://github.com/ghoseb))
- [#1369](https://github.com/babashka/babashka/issues/1369): provide `.sha256` files for every released asset
## 0.10.163 (2022-09-24)

View file

@ -30,7 +30,9 @@
:repo "babashka"
:file file
:tag (str "v" current-version)
:draft true})
:draft true
:overwrite (str/ends-with? current-version "SNAPSHOT")
:sha256 true})
(ghr/overwrite-asset {:org "babashka"
:repo "babashka-dev-builds"
:file file
@ -38,6 +40,8 @@
;; do not set, because we are posting to another repo
:target-commitish false
:draft false
:prerelease true}))
:prerelease true
:overwrite (str/ends-with? current-version "SNAPSHOT")
:sha256 true}))
(println "Skipping release artifact (no GITHUB_TOKEN or not on main branch)"))
nil))