Skip to content

Commit dee440d

Browse files
authored
Modify SHA256 checksum generation method
1 parent 4087436 commit dee440d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/archive.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
# Create tar.gz archive in PAX format
5858
tar --format=pax --exclude="tmp_archive" -czf "$ARCHIVE" .
5959
60-
# Generate SHA256 checksum
61-
sha256sum "$ARCHIVE" > "$CHECKSUM"
60+
# Generate SHA256 checksum with filename only
61+
(cd "$TMP_DIR" && sha256sum "$(basename "$ARCHIVE")" > "$CHECKSUM")
6262
6363
# Write SIGNIFY_KEY to temporary file
6464
printf "%s\n" "$SIGNIFY_KEY" > "$TMP_DIR/archive.sec"

0 commit comments

Comments
 (0)