aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/jenkins
diff options
context:
space:
mode:
authorTobias Bosch2014-01-07 14:47:03 -0800
committerTobias Bosch2014-01-07 15:49:03 -0800
commite89150ca0f462c8673e03bc29bce0d2dd51c6e03 (patch)
tree67a261157ea6dc0dc6c4c6b3728655c68cdc480b /scripts/jenkins
parent9693a426e3814c0c2d83802015ae6cd8cfec8e3e (diff)
downloadangular.js-e89150ca0f462c8673e03bc29bce0d2dd51c6e03.tar.bz2
chore(build): Add angular-seed and angular-phonecat to the release
Diffstat (limited to 'scripts/jenkins')
-rwxr-xr-xscripts/jenkins/master.sh12
-rwxr-xr-xscripts/jenkins/release.sh18
2 files changed, 25 insertions, 5 deletions
diff --git a/scripts/jenkins/master.sh b/scripts/jenkins/master.sh
index 93af4d94..b9911105 100755
--- a/scripts/jenkins/master.sh
+++ b/scripts/jenkins/master.sh
@@ -8,6 +8,13 @@ ARG_DEFS=(
"[--no-test=(true|false)]"
)
+function init {
+ if [[ ! $VERBOSE ]]; then
+ VERBOSE=false
+ fi
+ VERBOSE_ARG="--verbose=$VERBOSE"
+}
+
function build {
cd ../..
@@ -22,8 +29,9 @@ function build {
}
function phase {
- ../code.angularjs.org/publish.sh --action=$1
- ../bower/publish.sh --action=$1
+ ACTION_ARG="--action=$1"
+ ../code.angularjs.org/publish.sh $ACTION_ARG $VERBOSE_ARG
+ ../bower/publish.sh $ACTION_ARG $VERBOSE_ARG
}
function run {
diff --git a/scripts/jenkins/release.sh b/scripts/jenkins/release.sh
index 2763b128..2f962cd5 100755
--- a/scripts/jenkins/release.sh
+++ b/scripts/jenkins/release.sh
@@ -12,12 +12,24 @@ ARG_DEFS=(
function init {
NG_ARGS=("$@")
+ if [[ ! $VERBOSE ]]; then
+ VERBOSE=false
+ fi
+ if [[ ! $NO_TEST ]]; then
+ NO_TEST=false
+ fi
+ VERBOSE_ARG="--verbose=$VERBOSE"
+ NO_TEST_ARG="--no_test=$VERBOSE"
}
function phase {
- ../angular.js/publish.sh --action=$1 "${NG_ARGS[@]}"
- ../code.angularjs.org/publish.sh --action=$1
- ../bower/publish.sh --action=$1
+ ACTION_ARG="--action=$1"
+ ../angular.js/publish.sh $ACTION_ARG $VERBOSE_ARG $NO_TEST_ARG \
+ --next-version-type=$NEXT_VERSION_TYPE --next-version-name=$NEXT_VERSION_NAME
+ ../code.angularjs.org/publish.sh $ACTION_ARG $VERBOSE_ARG
+ ../bower/publish.sh $ACTION_ARG $VERBOSE_ARG
+ ../angular-seed/publish.sh $ACTION_ARG $VERBOSE_ARG $NO_TEST_ARG
+ ../angular-phonecat/publish.sh $ACTION_ARG $VERBOSE_ARG $NO_TEST_ARG
}
function run {