mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +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"
|
||||
SCHEME="mas-cli Release"
|
||||
CONFIG="Release"
|
||||
VERSION=$(agvtool what-marketing-version -terse1)
|
||||
VERSION=$(script/version)
|
||||
|
||||
main() {
|
||||
script/clean
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue