Files
cdnjs/update-npm.sh
T

19 lines
278 B
Bash
Executable File

#!/bin/bash
# Exit if any errors
set -e
echo Getting latest libraries
git pull
echo npm install for good mesure
npm install
echo Starting npm script
node npm-auto-update.js
echo Pushing new versions
git add .
git commit -am "Updated packages via NPM auto-update."
git push