summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2025-04-04 17:29:21 +0200
committerGitHub <noreply@github.com>2025-04-04 17:29:21 +0200
commitec6d55ac950d90960f2a0a5f02a674c1ac7e1df3 (patch)
treef67d2d4ea587aa562a594560dded009fd00f7127 /bin
parent134ad001c4a491879e515203275a498d7bfc0d39 (diff)
sign windows release with release certificate (#3613)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-windows-installer10
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/build-windows-installer b/bin/build-windows-installer
index bf7b8288..1f05d91b 100755
--- a/bin/build-windows-installer
+++ b/bin/build-windows-installer
@@ -24,7 +24,15 @@ iscc win/win_build.iss
mv win/inkstitch.exe artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.exe
cd dist
echo "Creating zip"
+if [[ -d "../signed-artifacts" ]]; then
+ DIRECTORY="signed-artifacts"
+ echo "Found signed artifacts"
+else
+ DIRECTORY="artifacts"
+ echo "No signed artifacts found, local build"
+fi
+
# The python zipfile command line utility can't handle directories
# containing files with UTF-8 names on Windows, so we use 7-zip instead.
-7z a ../artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.zip *
+7z a ../${DIRECTORY}/inkstitch-${VERSION}-${OS}-${ARCH}.zip *
cd ..