Files
appsandbox/tools
James Stringer 1d0bab6b01 Stamp macOS version from Directory.Build.props at build time
Make Directory.Build.props the single place a version is ever set on macOS,
matching how Windows derives its version from the same file.

- Add a 'Stamp version' Run Script build phase to the AppSandbox and
  AppSandboxCore targets. It runs on every build (Xcode GUI, xcodebuild,
  Archive) and writes CFBundleShortVersionString / CFBundleVersion into the
  built bundle's Info.plist from Directory.Build.props.
- A build phase (not an xcconfig) is used because xcconfig is read before build
  phases run, so a generated xcconfig couldn't version the current build.
- tools/sign/asb-version.sh reads the version; tools/sign/stamp-version.sh is
  the build-phase wrapper. make-release-mac.sh uses asb-version.sh for the zip
  name.
- Remove the committed, generated version.xcconfig and sync-mac-version.sh;
  Local.xcconfig no longer includes version.xcconfig.

A fresh clone builds (ad-hoc or Personal Team, Xcode GUI or CLI) with the
version stamped, and nothing but Directory.Build.props defines it.
2026-06-01 21:42:11 -04:00
..
2026-05-19 20:21:43 -04:00
2026-03-18 18:44:36 -04:00
2026-03-18 18:44:36 -04:00
2026-03-18 18:44:36 -04:00