File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,12 @@ function init {
18
18
}
19
19
20
20
function prepare() {
21
-
22
- if ! git symbolic-ref --short HEAD; then
23
- # We are on a detached branch, e.g. jenkins checks out shas instead of branches
24
- # Jump onto the master branch and make sure we are using the latest
25
- git checkout -f master
26
- git merge --ff-only origin/master
27
- fi
28
-
29
21
./scripts/angular.js/finalize-version.sh
30
22
31
23
# Build
32
24
if [[ $NO_TEST == " true" ]]; then
33
- grunt package
25
+ npm install --color false
26
+ grunt ci-checks package --no-color
34
27
else
35
28
./jenkins_build.sh
36
29
fi
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ function build {
12
12
cd ../..
13
13
14
14
if [[ $NO_TEST == " true" ]]; then
15
- grunt package
15
+ npm install --color false
16
+ grunt ci-checks package --no-color
16
17
else
17
18
./jenkins_build.sh
18
19
fi
You can’t perform that action at this time.
0 commit comments