You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/the-release-process.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,9 @@ Creator, it's usually copied into a GitHub issue:
38
38
- [ ] Download release artifacts from the tagged commit CI build
39
39
- [ ] Also, create a source tarball with `git archive --format=tar.xz --prefix=opensimcreator-${VERSION}/ -o opensimcreator-${VERSION}-src.tar.xz $VERSION` (or, on MacOS: git archive --format=tar --prefix=opensimcreator-${VERSION}/ $VERSION | xz > opensimcreator-${VERSION}-src.tar.xz)
40
40
- [ ] You might need to configure `.tar.xz` support with `git config tar.tar.xz.command "xz -c"`
41
+
- [ ] For MacOS, the release must be built on a developer's machine, and the developer should configure the build with codesigning+notarization and upload
42
+
the signed+notarized binaries instead. See OSC_CODESIGN_ENABLED and OSC_NOTARIZATION_ENABLED flags in the
43
+
MacOS packaging. Adam Kewley specifically has the CMake flags, password, keys etc. necessary to do this.
41
44
- [ ] Unzip/rename any artifacts (see prev. releases)
42
45
- [ ] Create new release on github from the tagged commit
# install-time: copy the Mac-specific desktop icon (.icns)
@@ -67,7 +87,54 @@ else()
67
87
unset(OSC_ARCH_LOWERCASE)
68
88
endif()
69
89
90
+
# use a DMG drag-and-drop packaging method
70
91
set(CPACK_GENERATOR DragNDrop)
71
92
93
+
# Handle code signing (notarization is separate - below)
94
+
if(OSC_CODESIGN_ENABLED)
95
+
set(OSC_CODESIGN_DEVELOPER_ID ""CACHESTRING"The developer ID string for the codesigning key (e.g. 'Developer ID Application: Some Developer (XYA12398BF)')")
# If notarizing, assert that codesigning is enabled (you can only notarize signed code)
118
+
# and run notarization on the output DMG
119
+
if(OSC_NOTARIZATION_ENABLED)
120
+
if(NOT OSC_CODESIGN_ENABLED)
121
+
message(FATAL_ERROR "OSC_NOTARIZATION_ENABLED is ${OSC_NOTARIZATION_ENABLED} but OSC_CODESIGN_ENABLED is ${OSC_CODESIGN_ENABLED}: notarization requires code signing to be enabled")
122
+
endif()
123
+
124
+
set(OSC_NOTARIZATION_APPLE_ID ""CACHESTRING"Apple ID of the signer (e.g. '[email protected]')")
125
+
set(OSC_NOTARIZATION_TEAM_ID ""CACHESTRING"Team ID of the signer (usually, random-looking string at the end of OSC_CODESIGN_DEVELOPER_ID)")
126
+
set(OSC_NOTARIZATION_PASSWORD ""CACHESTRING"App-specific password of the signer (you can create this from your apple ID account)")
0 commit comments