aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/jenkins/master.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/jenkins/master.sh')
-rwxr-xr-xscripts/jenkins/master.sh23
1 files changed, 17 insertions, 6 deletions
diff --git a/scripts/jenkins/master.sh b/scripts/jenkins/master.sh
index 38c21b97..a4fe50ac 100755
--- a/scripts/jenkins/master.sh
+++ b/scripts/jenkins/master.sh
@@ -1,14 +1,25 @@
#!/bin/bash
-set -e # fail if any command fails
+echo "#################################"
+echo "#### Update master ##############"
+echo "#################################"
+
+# Enable tracing and exit on first failure
+set -xe
+
cd `dirname $0`/../..
-# Build
+echo "#################################"
+echo "#### Jenkins Build ############"
+echo "#################################"
./jenkins_build.sh
-# Update code.angularjs.org
-VERSION=`cat build/version.txt`
-curl -G --data-urlencode 'ver=$VERSION' http://code.angularjs.org/fetchLatestSnapshot.php
+echo "#################################"
+echo "## Update code.angular.js.org ###"
+echo "#################################"
+./scripts/code.angularjs.org/publish.sh
-# Push to bower
+echo "#################################"
+echo "#### Update bower ###############"
+echo "#################################"
./scripts/bower/publish.sh \ No newline at end of file