mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-22 08:32:11 +00:00
8972d9773e
- Simplify build/version updates by moving MARKETING_VERSION and CURRENT_PROJECT_VERSION to Config.xcconfig - Provide Ruby (for fastlane) and Bash (for CI) versions of xconfig-get/set - Copy release notes atomically inside the lane to guarantee they are included in the version commit - Add -nt to skip the build tag
13 lines
262 B
Bash
Executable File
13 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
if [[ -z "$1" ]]; then
|
|
echo "Path to Xcode project required"
|
|
exit 1
|
|
fi
|
|
if [[ -z "$2" ]]; then
|
|
echo "Setting key required"
|
|
exit 1
|
|
fi
|
|
xcconfig="$1"
|
|
setting_key="$2"
|
|
grep $setting_key $xcconfig | sed -E "s/^.*${setting_key} = (.*)$/\1/"
|