feat: sign released binaries
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable
This commit is contained in:
@ -37,6 +37,10 @@ function build {
|
||||
upx --best "$destdir/$name"
|
||||
fi
|
||||
|
||||
if [ ! -z "${GPG_SIGNING_KEY}" ]; then
|
||||
echo "signing '$destdir/$name' with gpg key '$GPG_SIGNING_KEY'..."
|
||||
echo $GPG_SIGNING_PASSPHRASE | gpg --pinentry-mode loopback --passphrase-fd 0 --sign --default-key "${GPG_SIGNING_KEY}" --output "$destdir/$name.sig" "$destdir/$name"
|
||||
fi
|
||||
}
|
||||
|
||||
function copy {
|
||||
|
Reference in New Issue
Block a user