Skip to content

Commit

Permalink
Rename calculated VERSION.txt in BINARY_DIR
Browse files Browse the repository at this point in the history
Otherwise if BINDIR == SRCDIR this would overwrite
the original VERSION.txt.
  • Loading branch information
chris2511 committed Oct 1, 2023
1 parent de3de97 commit 6dd1ceb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions release/build-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions release/release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6dd1ceb

Please sign in to comment.