forked from processing/p5.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Release steps
Lauren McCarthy edited this page Nov 9, 2015
·
8 revisions
List of the very few things that get done when posting a new p5 release...
- Increment version number in package.json.
- Run
gruntto build latest lib files with new tag and date. - Push changes to github.
- Draft a new release.
- Give it version number as name.
- Include list of changes since last release.
- Include these files:
- p5.js
- p5.min.js
- p5.dom.js
- p5.sound.js
- p5.sound.min.js
- p5.zip all above files + empty-example containing:
- libraries/p5.js
- libraries/p5.dom.js
- libraries/p5.sound.js
- index.html
- Run
npm publishfrom p5.js repo to publish to http://npmjs.com. - Replace files in lib/ directory in p5.js-release repo (to support bower etc.
git add lib/*
git commit -m 'vx.x.x'
git push origin master
git tag x.x.x
git push origin x.x.x
- Links on website should auto-update to the latest version in package.json, but you can also refresh this by going here: http://p5js.org/download/release.php.
- Run
grunt yui. - Move
docs/referencetop5.js-website/reference. - Push changes to github to auto-update site.
