From 6850dac78e1c1902c60883ba20f0aef2896f30ea Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Sun, 13 Jan 2019 00:58:51 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9C=20Use=20version=20script=20in=20ot?= =?UTF-8?q?her=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/build | 2 +- script/install | 2 +- script/package | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/build b/script/build index f8ceb30..e1a4099 100755 --- a/script/build +++ b/script/build @@ -4,7 +4,7 @@ BUILD_DIR="$PWD/build" PROJECT="mas-cli.xcodeproj" SCHEME="mas-cli Release" CONFIG="Release" -VERSION=$(agvtool what-marketing-version -terse1) +VERSION=$(script/version) main() { script/clean diff --git a/script/install b/script/install index 5cdd879..c87f676 100755 --- a/script/install +++ b/script/install @@ -9,7 +9,7 @@ BUILD_DIR="$PWD/build" PROJECT="mas-cli.xcodeproj" SCHEME="mas-cli Release" CONFIG="Release" -VERSION=$(agvtool what-marketing-version -terse1) +VERSION=$(script/version) # Destination for `xcodebuild install` INSTALL_TEMPORARY_FOLDER=${DSTROOT:-build/distributions} diff --git a/script/package b/script/package index 8ad6daf..a8d0c34 100755 --- a/script/package +++ b/script/package @@ -18,7 +18,7 @@ DISTRIBUTION_PLIST="Package/Distribution.plist" INSTALL_TEMPORARY_FOLDER=${DSTROOT:-build/distributions} mkdir -p $INSTALL_TEMPORARY_FOLDER -VERSION=$(agvtool what-marketing-version -terse1) +VERSION=$(script/version) # Final destination. PREFIX=/usr/local