mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-24 02:21:00 +00:00
8 lines
219 B
Bash
8 lines
219 B
Bash
|
#!/bin/sh
|
||
|
if [ -z "$1" ]; then
|
||
|
echo "Path to Xcode project required"
|
||
|
exit 1
|
||
|
fi
|
||
|
XCODEPROJ="$1"
|
||
|
grep MARKETING_VERSION $XCODEPROJ | uniq | sed -E "s/^.*MARKETING_VERSION = ([0-9]\.[0-9]\.[0-9]);/\1/" | tr -d '\n'
|