Fork me on GitHub
#babashka-sci-dev
<
2022-09-27
>
Adam Kalisz16:09:19

I was wondering, where can I add the shasums generation? Related to this issue: https://github.com/babashka/babashka/issues/1369

Adam Kalisz16:09:59

It should be a one or two simple tasks in the build.

borkdude20:09:35

@adam.kalisz Welcome! I think @lee or @rahul080327 mentioned recently that the graal native image already produces SHA files, but I'm not 100% sure who said this. But I think we need to produce sha256 files of the tar.gz right, or the binary?

borkdude20:09:22

So each CI build uploads the binary to Github releases. This script for this is in babashka.release-artifact

borkdude20:09:48

Instead of just uploading the artifact, we could also upload an additional SHA256 file and that's it I think :)

lread20:09:00

Ya dat was me.

lread20:09:07

I was only noticing that they included sha256 files https://github.com/graalvm/graalvm-ce-builds/releases/. For your bad curl downloads problem. On that note, is wget any better than curl at being noisy when things go wrong? I think it has some retry logic… maybe…

borkdude20:09:29

ah yes, espresso-installable-svm-java11-darwin-aarch64-22.2.0.jar.sha256 - I think we should also produce such files and upload them along the other files that are part of the release