From d4caef9c3d0099e999276e93ef4be422cca3cbfb Mon Sep 17 00:00:00 2001 From: David Dworken Date: Tue, 24 May 2022 22:26:24 -0700 Subject: [PATCH] Fix release filenames --- .github/workflows/slsa-releaser.yml | 4 ++-- scripts/actions-sign.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/slsa-releaser.yml b/.github/workflows/slsa-releaser.yml index 8790124..dab1348 100644 --- a/.github/workflows/slsa-releaser.yml +++ b/.github/workflows/slsa-releaser.yml @@ -55,8 +55,8 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: | - hishtory-darwin-arm64-signed.json - hishtory-darwin-amd64-signed.json + hishtory-darwin-arm64 + hishtory-darwin-amd64 # Upload to GitHub release. upload: diff --git a/scripts/actions-sign.py b/scripts/actions-sign.py index 03a2c46..c52ad4a 100644 --- a/scripts/actions-sign.py +++ b/scripts/actions-sign.py @@ -10,10 +10,10 @@ def main(): waitUntilPublished(f"https://github.com/ddworken/hishtory/releases/download/{version}-darwin-amd64/hishtory-darwin-amd64", "hishtory-darwin-amd64") print("sha1sum:") - os.system("sha1sum hishtory-*") + os.system("sha1sum hishtory-* 2>&1") print("file:") - os.system("file hishtory-*") + os.system("file hishtory-* 2>&1") notAscii("hishtory-darwin-arm64") notAscii("hishtory-darwin-amd64")