Update the online version of paper.js when releasing a new version.

This commit is contained in:
Jürg Lehni 2014-03-29 10:21:47 +01:00
parent 4ca43ef2c3
commit 2b9d069864

View file

@ -42,6 +42,8 @@ npm publish
cd $SITE_DIR
echo `PWD`
cp $PAPER_DIR/dist/paperjs.zip $DIST_FILE
# Update the online version of paper.js
cp $PAPER_DIR/dist/paper-full.js assets/js/paper.js
# Commit to paperjs.org
git add -A $DIST_FILE
git commit -m "Release version v$VERSION"