aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/jenkins/master.sh
diff options
context:
space:
mode:
authorTobias Bosch2013-12-13 20:02:15 -0800
committerTobias Bosch2013-12-13 21:49:05 -0800
commit9a4c9e6487e0f51275a7820d0c162aceeadbf561 (patch)
treeefce73ed82268c92c4b3bfa03c9ed1c44d053b6b /scripts/jenkins/master.sh
parent11fff8fa0d370e2f20284510ad0e52cdf3bcb2a3 (diff)
downloadangular.js-9a4c9e6487e0f51275a7820d0c162aceeadbf561.tar.bz2
chore(build): correct and refactor release script
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