Address PR feedback.
This commit is contained in:
parent
3c53e26d59
commit
08f960b03d
2 changed files with 12 additions and 7 deletions
|
@ -10,24 +10,28 @@ for i in "${!params[@]}"
|
|||
do
|
||||
lowerI="$(echo ${params[$i]} | awk '{print tolower($0)}')"
|
||||
case $lowerI in
|
||||
"release" | "-release")
|
||||
"release" | "--release")
|
||||
export CONFIGURATION=Release
|
||||
;;
|
||||
"debug" | "-debug")
|
||||
"debug" | "--debug")
|
||||
export CONFIGURATION=Debug
|
||||
;;
|
||||
"offline" | "-offline")
|
||||
"offline" | "--offline")
|
||||
export OFFLINE=true
|
||||
;;
|
||||
"nopackage" | "-nopackage")
|
||||
"nopackage" | "--nopackage")
|
||||
export NOPACKAGE=true
|
||||
;;
|
||||
"nocache" | "-nocache")
|
||||
"nocache" | "--nocache")
|
||||
export NOCACHE=--No-Cache
|
||||
;;
|
||||
"--buildindocker")
|
||||
"--buildindocker-ubuntu")
|
||||
export BUILD_IN_DOCKER=true
|
||||
export DOCKER_OS=${params[i+1]}
|
||||
export DOCKER_OS=ubuntu
|
||||
;;
|
||||
"--buildindocker-centos")
|
||||
export BUILD_IN_DOCKER=true
|
||||
export DOCKER_OS=centos
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
|
|
|
@ -13,6 +13,7 @@ done
|
|||
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||
|
||||
source "$DIR/../common/_common.sh"
|
||||
source "$REPOROOT/scripts/build/generate-version.sh"
|
||||
|
||||
if [ -z "$DOTNET_BUILD_VERSION" ]; then
|
||||
TIMESTAMP=$(date "+%Y%m%d%H%M%S")
|
||||
|
|
Loading…
Add table
Reference in a new issue