1 |
|
2 |
|
3 | # A script to rename, code sign and zip the windows binary created by `pkg`
|
4 | # so it's ready for release. This is designed to run on Travis CI where
|
5 | # the env vars for decrypting `win-cert.p12.enc` and `WIN_CERT_PASSWORD`
|
6 | # are available
|
7 |
|
8 | osslsigncode sign \
|
9 | -pkcs12 "win-cert.p12" \
|
10 | -pass "$WIN_CERT_PASSWORD" \
|
11 | -n "Dockter" \
|
12 | -i "https://stenci.la" \
|
13 | -t "http://timestamp.comodoca.com/authenticode" \
|
14 | -in "build/dockter-win.exe" \
|
15 | -out "build/dockter.exe"
|
16 |
|
17 | zip -j build/dockter-win-x64.zip build/dockter.exe
|