Skip to content

Commit

Permalink
Use .asc instead of .sig for signing files
Browse files Browse the repository at this point in the history
  • Loading branch information
imdawon committed Mar 24, 2024
1 parent 0514339 commit db94968
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/linux_amd64.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion build/macos_arm64.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion build/windows_amd64.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit db94968

Please sign in to comment.