Skip to content

Commit 50dbd34

Browse files
authored
chore: bazel-lib 2.0 fixes the missing newline in hashes (#403)
1 parent c155afa commit 50dbd34

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: Release
55

66
on:
7+
workflow_dispatch: # allow trigger through Web UI
78
push:
89
tags:
910
- "v*.*.*"

.github/workflows/release_prep.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ git archive --format=tar --prefix=${PREFIX}/ ${TAG} > $ARCHIVE_TMP
2020
# Delete the placeholder file
2121
tar --file $ARCHIVE_TMP --delete ${PREFIX}/tools/integrity.bzl
2222

23-
# Add trailing newlines to sha256 files. They were built with
24-
# https://github.com/aspect-build/bazel-lib/blob/main/tools/release/hashes.bzl
25-
for sha in $(ls artifacts-*/*.sha256); do
26-
echo "" >> $sha
27-
done
28-
2923
mkdir -p ${PREFIX}/tools
3024
cat >${PREFIX}/tools/integrity.bzl <<EOF
3125
"Generated during release by release_prep.sh, using integrity.jq"

0 commit comments

Comments
 (0)