Browse Source

Windows build scripts: Read codesign passphrase. Lazy check if unsigned binaries are there.

patch-4
ThomasV 3 years ago
parent
commit
7cf495d1e0
  1. 5
      contrib/build-wine/sign.sh
  2. 4
      contrib/release.sh

5
contrib/build-wine/sign.sh

@ -20,9 +20,14 @@ mkdir -p signed >/dev/null 2>&1
cd dist
echo "Found $(ls *.exe | wc -w) files to sign."
echo -n "Windows codesign passphrase:"
read -s password
for f in $(ls *.exe); do
echo "Signing $f..."
osslsigncode sign \
-pass $password\
-h sha256 \
-certs "$CERT_FILE" \
-key "$KEY_FILE" \

4
contrib/release.sh

@ -105,7 +105,11 @@ if test -f "dist/$win1"; then
info "file exists: $win1"
else
pushd .
if test -f "contrib/build-wine/dist/$win1"; then
info "unsigned file exists: $win1"
else
./contrib/build-wine/build.sh
fi
cd contrib/build-wine/
if [ ! -z "$RELEASEMANAGER" ] ; then
./sign.sh

Loading…
Cancel
Save