mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Update the online version of paper.js when releasing a new version.
This commit is contained in:
parent
4ca43ef2c3
commit
2b9d069864
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ npm publish
|
||||||
cd $SITE_DIR
|
cd $SITE_DIR
|
||||||
echo `PWD`
|
echo `PWD`
|
||||||
cp $PAPER_DIR/dist/paperjs.zip $DIST_FILE
|
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
|
# Commit to paperjs.org
|
||||||
git add -A $DIST_FILE
|
git add -A $DIST_FILE
|
||||||
git commit -m "Release version v$VERSION"
|
git commit -m "Release version v$VERSION"
|
||||||
|
|
Loading…
Reference in a new issue