From db949685918b1ce7a5b665fcb98469fb0d377215 Mon Sep 17 00:00:00 2001 From: Dawson Hensel Date: Sun, 24 Mar 2024 15:13:31 -0700 Subject: [PATCH] Use .asc instead of .sig for signing files --- build/linux_amd64.sh | 2 +- build/macos_arm64.sh | 2 +- build/windows_amd64.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/linux_amd64.sh b/build/linux_amd64.sh index f321edf..67df8b4 100755 --- a/build/linux_amd64.sh +++ b/build/linux_amd64.sh @@ -1,3 +1,3 @@ GOARCH=amd64 GOOS=linux go build -o release/Emissary_linux_amd64_$1 -ldflags="-s -w" . zip -r ./release/Emissary_linux_amd64_$1.zip release/Emissary_linux_amd64_$1 -gpg --output release/Emissary_linux_amd64_$1.zip.sig --detach-sig release/Emissary_linux_amd64_$1.zip +gpg --armor --output release/Emissary_linux_amd64_$1.zip.asc --detach-sig release/Emissary_linux_amd64_$1.zip diff --git a/build/macos_arm64.sh b/build/macos_arm64.sh index c319527..aa87809 100755 --- a/build/macos_arm64.sh +++ b/build/macos_arm64.sh @@ -1,3 +1,3 @@ GOARCH=arm64 GOOS=darwin go build -o release/Emissary_macos_arm64_$1 -ldflags="-s -w" . zip -r ./release/Emissary_macos_arm64_$1.zip release/Emissary_macos_arm64_$1 -gpg --output release/Emissary_macos_arm64_$1.zip.sig --detach-sig release/Emissary_macos_arm64_$1.zip +gpg --armor --output release/Emissary_macos_arm64_$1.zip.asc --detach-sig release/Emissary_macos_arm64_$1.zip diff --git a/build/windows_amd64.sh b/build/windows_amd64.sh index 23364b8..b275dbb 100755 --- a/build/windows_amd64.sh +++ b/build/windows_amd64.sh @@ -1,3 +1,3 @@ CGO_ENABLED=1 CC="x86_64-w64-mingw32-gcc" GOARCH=amd64 GOOS=windows go build -o release/Emissary_windows_amd64_$1.exe -ldflags="-s -w" . zip -r ./release/Emissary_windows_amd64_$1.zip release/Emissary_windows_amd64_$1.exe -gpg --output release/Emissary_windows_amd64_$1.zip.sig --detach-sig release/Emissary_windows_amd64_$1.zip +gpg --armor --output release/Emissary_windows_amd64_$1.zip.asc --detach-sig release/Emissary_windows_amd64_$1.zip