From 6dd1ceb7f3cf8ca7f4ef7658cb8a8ef17d6c6f86 Mon Sep 17 00:00:00 2001 From: Christian Hohnstaedt Date: Sun, 1 Oct 2023 12:40:09 +0200 Subject: [PATCH] Rename calculated VERSION.txt in BINARY_DIR Otherwise if BINDIR == SRCDIR this would overwrite the original VERSION.txt. --- CMakeLists.txt | 2 +- release/build-mac.sh | 4 ++-- release/release.txt | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f2221a78..a4fe9d7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ include(GNUInstallDirs) ##### Git command to tweak the version and commit hash include(cmake/git_version.cmake) -file(WRITE ${PROJECT_BINARY_DIR}/VERSION.txt ${PROJECT_VERSION}\n) +file(WRITE ${PROJECT_BINARY_DIR}/PKGVERSION.txt ${PROJECT_VERSION}\n) ##### Build specifications diff --git a/release/build-mac.sh b/release/build-mac.sh index 570b3a08..52fc165c 100755 --- a/release/build-mac.sh +++ b/release/build-mac.sh @@ -103,7 +103,7 @@ cmake -B "$BUILDDIR_APPSTORE" "$XCA_DIR" \ -DAPPSTORE_COMPLIANT=ON \ -DPROVISIONPROFILE="$TOP_DIR/XCA_AppStore_Provisioning.provisionprofile" -read xca_version < "$XCA_DIR"/VERSION.txt +read xca_version < "$BUILDDIR_APPSTORE"/PKGVERSION.txt cmake --build "$BUILDDIR_APPSTORE" -j$JOBS productbuild --component "$BUILDDIR_APPSTORE/xca.app" /Applications \ - --sign "3rd Party Mac Developer Installer" xca-${xca_version}-appstore.pkg + --sign "3rd Party Mac Developer Installer" "$BUILDDIR_APPSTORE/xca-${xca_version}-appstore.pkg" diff --git a/release/release.txt b/release/release.txt index 00ddc239..64bc2512 100644 --- a/release/release.txt +++ b/release/release.txt @@ -27,6 +27,9 @@ xcrun stapler staple "$DMG" Microsoft Store ----------------- +OpenSSL: +./Configure mingw64 --prefix=/c/OpenSSL --libdir=lib + https://partner.microsoft.com ("Partner Center") MSIX Packaging Tool