fix(ios): Update resources/build/xcode-utils.sh

Co-Authored-By: Marc Durdin <marc@durdin.net>
This commit is contained in:
Joshua Horton 2020-03-09 08:39:32 +07:00 committed by GitHub
parent c7df79e00f
commit 8deebbfc9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ function setSettingsBundleVersion() {
# We're not a command-line build... so we'll need to retrieve these values ourselves with ./build-utils.sh.
# Note that this script's process will not have access to TC environment variables, but that's fine for
# local builds triggered through Xcode's UI, which aren't part of our CI processes.
."$KEYMAN_ROOT/resources/build/build-utils.sh"
. "$KEYMAN_ROOT/resources/build/build-utils.sh"
echo "UI build - fetching version from repository:"
echo " Plain: $VERSION"
echo " Tagged: $VERSION_WITH_TAG"
@ -66,4 +66,4 @@ function setSettingsBundleVersion() {
echo "Setting $VERSION_WITH_TAG for $SETTINGS_PLIST"
# We assume that entry 0 = the version "preference" entry.
/usr/libexec/PlistBuddy -c "Set :PreferenceSpecifiers:0:DefaultValue $VERSION_WITH_TAG" "$SETTINGS_PLIST"
}
}