chore(build): bugfixes to build scripts on Jenkins.

This commit is contained in:
Tobias Bosch
2014-01-06 14:01:39 -08:00
parent 5dc27959d5
commit dc89db33df
4 changed files with 13 additions and 14 deletions

View File

@@ -5,13 +5,13 @@ echo "#### Update master ##############"
echo "#################################"
ARG_DEFS=(
"[--no-test=true]"
"[--no-test=(true|false)]"
)
function build {
cd ../..
if [[ $NO_TEST ]]; then
if [[ $NO_TEST == "true" ]]; then
grunt package
else
./jenkins_build.sh

View File

@@ -5,16 +5,13 @@ echo "#### Cut release ################"
echo "#################################"
ARG_DEFS=(
"--next_version_type=(patch|minor|major)"
"--next-version-type=(patch|minor|major)"
"--next-version-name=(.+)"
"[--no-test=true]"
"[--no-test=(true|false)]"
)
function init {
NG_ARGS=("$@")
if [[ $NO_TEST ]]; then
NG_ARGS+=(--no_test=true)
fi
}
function phase {