Skip to content

Commit

Permalink
chore: bazel-lib 2.0 fixes the missing newline in hashes (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Oct 4, 2024
1 parent c155afa commit 50dbd34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name: Release

on:
workflow_dispatch: # allow trigger through Web UI
push:
tags:
- "v*.*.*"
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ git archive --format=tar --prefix=${PREFIX}/ ${TAG} > $ARCHIVE_TMP
# Delete the placeholder file
tar --file $ARCHIVE_TMP --delete ${PREFIX}/tools/integrity.bzl

# Add trailing newlines to sha256 files. They were built with
# /~https://github.com/aspect-build/bazel-lib/blob/main/tools/release/hashes.bzl
for sha in $(ls artifacts-*/*.sha256); do
echo "" >> $sha
done

mkdir -p ${PREFIX}/tools
cat >${PREFIX}/tools/integrity.bzl <<EOF
"Generated during release by release_prep.sh, using integrity.jq"
Expand Down

0 comments on commit 50dbd34

Please sign in to comment.