Release steps
Lauren McCarthy edited this page
·
8 revisions
Pages 36
- Home
- Archived Content
- Beyond the canvas
- Code of Conduct
- Contributed Tools, Projects, Demos
- Design Principles
- Development
- Development Checklist
- Development – extended
- DOM notes
- Education
- Embedding p5.js
- Frequently Asked Questions
- Friendly Debugger
- Getting Started
- Getting started with WebGL in p5
- Inline documentation
- Instantiation Cases
- Integrating other libraries
- Intro to DOM manipulation and events
- Intro to HTML and CSS
- Issue Labels
- JavaScript basics
- Libraries
- Loading external files: AJAX, XML, JSON
- Local server
- p5.js Contributors Conference at CMU
- p5.js overview
- p5.js, node.js, socket.io
- Positioning your canvas
- Preparing a pull request
- Processing transition
- Reference
- Release steps
- SimpleHTTPServer
- Supported browsers
- Show 21 more pages…
Clone this wiki locally
List of the very few things that get done when posting a new p5 release...
Posting a new 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
Post other versions
- 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.
Updating docs
- Run
grunt yui. - Move
docs/referencetop5.js-website/reference. - Push changes to github to auto-update site.
