diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2025-04-13 11:59:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 11:59:54 +0200 |
| commit | 9557b3f7654210b9bc1e04574bbd3cd9c34c1247 (patch) | |
| tree | 5b78ddd5af69bf8e8cb8931e064d62c5700a77a4 /bin/build-windows-installer | |
| parent | 391950f2db5fceaa4d6627e4958aeb4f81c9fde6 (diff) | |
Update update build process (#3652)
* removed linux new build, linux old is now linux64
* removed win32 build
* use geos source build only for linux32
* set python version to 3.11 for all builds
* sign only releases for windows
Diffstat (limited to 'bin/build-windows-installer')
| -rwxr-xr-x | bin/build-windows-installer | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/bin/build-windows-installer b/bin/build-windows-installer index 1f05d91b..85780079 100755 --- a/bin/build-windows-installer +++ b/bin/build-windows-installer @@ -11,14 +11,7 @@ copyright_year="#define COPYRIGHT \""${info_year}"\"" version_block="#define VERSION \""${VERSION}"\"" sed -i'' -e '/;inkstitch-year/ a\'$'\n'"${copyright_year}"'' win/win_build.iss sed -i'' -e '/;inkstitch-version/ a\'$'\n'"${version_block}"'' win/win_build.iss -# set installer to stop 64bit version to be installed in 32bit Windows -if [[ ${ARCH} == "64bit" ]]; then - echo "64" - sed -i'' -e '/;arch-allowed/ a\'$'\n'"ArchitecturesAllowed=x64 arm64"'' win/win_build.iss -else - echo "32" - sed -i'' -e '/;arch-allowed/ a\'$'\n'"ArchitecturesAllowed=x86 x64 arm64"'' win/win_build.iss -fi +sed -i'' -e '/;arch-allowed/ a\'$'\n'"ArchitecturesAllowed=x64 arm64"'' win/win_build.iss iscc win/win_build.iss mv win/inkstitch.exe artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.exe @@ -28,8 +21,13 @@ if [[ -d "../signed-artifacts" ]]; then DIRECTORY="signed-artifacts" echo "Found signed artifacts" else - DIRECTORY="artifacts" - echo "No signed artifacts found, local build" + if [[ ! -d "../signed-artifacts" ]]; then + DIRECTORY="signed-artifacts" + echo "Created signed artifacts" + else + DIRECTORY="artifacts" + echo "No signed artifacts found, local build" + fi fi # The python zipfile command line utility can't handle directories |
