Monday, April 23, 2012

Jquery Mobile - Steps for a jQuery Mobile Release


  • Do final merges and checks
  • Update version.txt to stable version information for this release. This is important as jquerymobile.com uses this to build the /demos/release-version and redirect both /demo and /demos to the correct area.
  • On a system with access to both CDN and jquerymobile.com, use the script "make deploy". This will build the necessary JS and CSS files (minified and full). It will copy them to the CDN. Then it will create the demos and copy that to jQueryMobile.com/demos/release-version
  • Git add version.txt and commit it
  • Git push to the master branch
  • This will trigger the jquerymobile.com/test and code.jquery.com/mobile/latest to update
  • Before or after this process, do a blog post detailing the changes
  • Change the version number and links on the homepage (intro link, linked devices, demo link)
  • Update Demos & Docs link in top nav
  • Update CDN links on Download page
  • Make sure you have a fresh, new badge for the demos with the release number

General notes for jquerymobile.com

  • /test is the latest unbuilt test files and demos. It is a git clone with one modified file in it: gitpushlatest.php. This file is altered so it just pulls the latest updates from Github
  • /githook is used to build the nightly and latest files on the CDN. It is an unaltered clone.
  • Both /githook and /test receive a post commit ping from github whenever there is a new push to the master branch.
  • /demos contains the past stable releases
  • /demos and /demo, when visited directly, will redirect to the latest stable

No comments:

Post a Comment