mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 19:43:09 +00:00
📜 Use version script in other scripts
This commit is contained in:
parent
328a96d49b
commit
6850dac78e
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ BUILD_DIR="$PWD/build"
|
||||||
PROJECT="mas-cli.xcodeproj"
|
PROJECT="mas-cli.xcodeproj"
|
||||||
SCHEME="mas-cli Release"
|
SCHEME="mas-cli Release"
|
||||||
CONFIG="Release"
|
CONFIG="Release"
|
||||||
VERSION=$(agvtool what-marketing-version -terse1)
|
VERSION=$(script/version)
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
script/clean
|
script/clean
|
||||||
|
|
|
@ -9,7 +9,7 @@ BUILD_DIR="$PWD/build"
|
||||||
PROJECT="mas-cli.xcodeproj"
|
PROJECT="mas-cli.xcodeproj"
|
||||||
SCHEME="mas-cli Release"
|
SCHEME="mas-cli Release"
|
||||||
CONFIG="Release"
|
CONFIG="Release"
|
||||||
VERSION=$(agvtool what-marketing-version -terse1)
|
VERSION=$(script/version)
|
||||||
|
|
||||||
# Destination for `xcodebuild install`
|
# Destination for `xcodebuild install`
|
||||||
INSTALL_TEMPORARY_FOLDER=${DSTROOT:-build/distributions}
|
INSTALL_TEMPORARY_FOLDER=${DSTROOT:-build/distributions}
|
||||||
|
|
|
@ -18,7 +18,7 @@ DISTRIBUTION_PLIST="Package/Distribution.plist"
|
||||||
INSTALL_TEMPORARY_FOLDER=${DSTROOT:-build/distributions}
|
INSTALL_TEMPORARY_FOLDER=${DSTROOT:-build/distributions}
|
||||||
mkdir -p $INSTALL_TEMPORARY_FOLDER
|
mkdir -p $INSTALL_TEMPORARY_FOLDER
|
||||||
|
|
||||||
VERSION=$(agvtool what-marketing-version -terse1)
|
VERSION=$(script/version)
|
||||||
|
|
||||||
# Final destination.
|
# Final destination.
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|
Loading…
Reference in a new issue