mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
chore(build): bugfixes to build scripts on Jenkins.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user