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
|
do
|
||||||
lowerI="$(echo ${params[$i]} | awk '{print tolower($0)}')"
|
lowerI="$(echo ${params[$i]} | awk '{print tolower($0)}')"
|
||||||
case $lowerI in
|
case $lowerI in
|
||||||
"release" | "-release")
|
"release" | "--release")
|
||||||
export CONFIGURATION=Release
|
export CONFIGURATION=Release
|
||||||
;;
|
;;
|
||||||
"debug" | "-debug")
|
"debug" | "--debug")
|
||||||
export CONFIGURATION=Debug
|
export CONFIGURATION=Debug
|
||||||
;;
|
;;
|
||||||
"offline" | "-offline")
|
"offline" | "--offline")
|
||||||
export OFFLINE=true
|
export OFFLINE=true
|
||||||
;;
|
;;
|
||||||
"nopackage" | "-nopackage")
|
"nopackage" | "--nopackage")
|
||||||
export NOPACKAGE=true
|
export NOPACKAGE=true
|
||||||
;;
|
;;
|
||||||
"nocache" | "-nocache")
|
"nocache" | "--nocache")
|
||||||
export NOCACHE=--No-Cache
|
export NOCACHE=--No-Cache
|
||||||
;;
|
;;
|
||||||
"--buildindocker")
|
"--buildindocker-ubuntu")
|
||||||
export BUILD_IN_DOCKER=true
|
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
|
esac
|
||||||
|
|
|
@ -13,6 +13,7 @@ done
|
||||||
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||||
|
|
||||||
source "$DIR/../common/_common.sh"
|
source "$DIR/../common/_common.sh"
|
||||||
|
source "$REPOROOT/scripts/build/generate-version.sh"
|
||||||
|
|
||||||
if [ -z "$DOTNET_BUILD_VERSION" ]; then
|
if [ -z "$DOTNET_BUILD_VERSION" ]; then
|
||||||
TIMESTAMP=$(date "+%Y%m%d%H%M%S")
|
TIMESTAMP=$(date "+%Y%m%d%H%M%S")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue