-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: switch to macos as host for making releases to fully automat…
…e codesigning workflow The previous release process used the dockercross image to execute CGO compatible cross-compilation for all platforms using Linux (docker) as the build environment. This necessitated a multi-step workflow in order to CodeSign the macos binaries. This is a cumbersome and error prone workflow. This changes switches to macOS as the build environment, implementing cross-compilation for windows and linux binaries and a goreleaser post-build hook to codesign the macOS binary. The release pipeline is now fully automated from CI (currently github actions)
- Loading branch information
Showing
8 changed files
with
78 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
set -eou pipefail | ||
|
||
CODESIGN_CERT="Developer ID Application: JOSEPH MILLER (P3MF48HUD7)" | ||
|
||
path="$1" | ||
|
||
# sign | ||
codesign -s "$CODESIGN_CERT" -i "vault-token-helper" "$path" | ||
|
||
# display signature | ||
codesign -v -d "$path" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.