Skip to content

Commit

Permalink
output app version at end of build script
Browse files Browse the repository at this point in the history
  • Loading branch information
muhqu committed Nov 28, 2014
1 parent 5c1cb74 commit 4f979af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ main() {
-configuration "Release"

TARGET_APP="./build/Release/DTerm.app"
TARGET_VERSION="$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "$TARGET_APP/Contents/Info.plist")"

if [[ ! -d "$TARGET_APP" ]]; then
error "missing $TARGET_APP"
Expand Down Expand Up @@ -118,9 +119,10 @@ main() {

echo "---------------------------------------------------"
echo ">> Build Complete: $(dirname $TARGET_APP)"
echo ">> APP: $TARGET_APP"
echo ">> Version: $TARGET_VERSION"
echo ">> APP: $TARGET_APP"
if [[ "$WITH_DMG" == "yes" ]]; then
echo ">> DMG: $TARGET_DMG"
echo ">> DMG: $TARGET_DMG"
fi
if [[ "$WITH_CODESIGN" == "yes" ]]; then
echo ">> Codesigning Details:"
Expand Down

0 comments on commit 4f979af

Please sign in to comment.