Skip to content

Conversation

loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Jul 17, 2024

checksum extraction script:

#!/usr/bin/env bash
while read line
do 
  IFS=\  read -r checksum artifact <<< $line
  art_hash=$(echo $checksum | xxd -r -p | base64)
  art_os=${artifact#"container-structure-test-"}
  echo "\"$art_os\": \"sha256-${art_hash}\""
done

usage: cat checksums.txt | <./this-script.sh> where checksums.txt is in the github release (generated by goreleaser)

I'm not fully sure about the MODULE.bazel update -- is there no tool to do this automatically?

Signed-off-by: Appu Goundan <[email protected]>
@loosebazooka loosebazooka merged commit f3b74df into main Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants