mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
🐛 Install to writable location on CI
This commit is contained in:
parent
50574d5e61
commit
a25fa17cda
2 changed files with 10 additions and 2 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -34,7 +34,7 @@ pipeline {
|
|||
sh 'script/bootstrap'
|
||||
sh 'script/build'
|
||||
sh 'script/archive'
|
||||
sh 'script/package'
|
||||
sh 'script/package build/distribution-tmp'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
|
|
|
@ -20,8 +20,16 @@ mkdir -p $INSTALL_TEMPORARY_FOLDER
|
|||
|
||||
VERSION=$(agvtool what-marketing-version -terse1)
|
||||
|
||||
# Final destination.
|
||||
PREFIX=/usr/local
|
||||
|
||||
# Override default prefix path with optional 1st arg
|
||||
if test -n "$1"; then
|
||||
PREFIX="$1"
|
||||
fi
|
||||
|
||||
# Run Xcode's install process
|
||||
script/install
|
||||
script/install "$PREFIX"
|
||||
|
||||
echo "==> 📦 Assemble an installer package"
|
||||
|
||||
|
|
Loading…
Reference in a new issue