aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/jenkins/master.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/jenkins/master.sh')
-rwxr-xr-xscripts/jenkins/master.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/jenkins/master.sh b/scripts/jenkins/master.sh
new file mode 100755
index 00000000..1e32ead2
--- /dev/null
+++ b/scripts/jenkins/master.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e # fail if any command fails
+cd `dirname $0`/../..
+
+# Build
+./jenkins_build.sh
+
+# Update code.angularjs.org
+VERSION=`cat build/version.txt`
+curl http://code.angularjs.org/fetchLatestSnapshot.php?ver=$VERSION
+
+# Push to bower
+./scripts/bower/publish.sh \ No newline at end of file