angular.js/scripts/jenkins/master.sh

14 lines
No EOL
270 B
Bash
Executable file

#!/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