Skip to content

Instantly share code, notes, and snippets.

View magicmon's full-sized avatar

Taewoo Kang magicmon

View GitHub Profile
@magicmon
magicmon / build_script.sh
Last active October 29, 2017 01:11
Xcode command line build & publish on fabric.
export LANG=en_US.UTF-8
# config
APP_NAME=$1
GROUP_ALIASES=$2
PROJECT_NAME=$(echo $APP_NAME | awk -F. '{print $1}')
APP_BUILD_NUMBER=$(date +"%y%m%d%H%M")
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${APP_BUILD_NUMBER}" ./${PROJECT_NAME}/Info.plist
# Script Options File