diff --git a/.github/workflows/release-upload.yaml b/.github/workflows/release-upload.yaml index b8801b2094..7fa1022ca9 100644 --- a/.github/workflows/release-upload.yaml +++ b/.github/workflows/release-upload.yaml @@ -183,6 +183,12 @@ jobs: done # TODO generalize # zip ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-win64.zip cardano-cli-win64 + - name: Checksums + run: | + # (3) + for arch in x86_64-linux x86_64-darwin aarch64-darwin; do + sha256sum ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-$arch.tar.gz >> ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-sha256sums.txt + done - name: Create short tag run: | # Transform the long tag (e.g. "cardano-cli-8.22.0.0") @@ -202,9 +208,10 @@ jobs: name: ${{ env.SHORT_TAG }} # Release name in GitHub UI # TODO generalize # cardano-cli-${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-win64.zip - # All entries in 'files' below should match (2) + # All entries in 'files' below should match (2) and (3) files: | ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-x86_64-linux.tar.gz ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-x86_64-darwin.tar.gz ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-aarch64-darwin.tar.gz + ${{ needs.wait_for_hydra.outputs.TARGET_TAG }}-sha256sums.txt body_path: RELEASE_CHANGELOG.md