Skip to content

Commit 97906b0

Browse files
committed
Allow code-signing to be used
Most of Git for Windows' build scripts assume that the environment variable `SIGNTOOL` is set if the executables are to be code-signed after building. Let's define that variable, then. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 387824d commit 97906b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ jobs:
181181
echo "$CODESIGN_P12" | tr % '\n' | base64 -d >home/.sig/codesign.p12 &&
182182
echo "$CODESIGN_PASS" >home/.sig/codesign.pass
183183
git config --global alias.signtool '!sh "/usr/src/build-extra/signtool.sh"'
184+
echo "SIGNTOOL=git signtool" >>$GITHUB_ENV
184185
185186
- name: Build ${{env.PACKAGE_TO_BUILD}}
186187
env:

0 commit comments

Comments
 (0)