Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Shipping new release

paulirish edited this page Nov 1, 2012 · 13 revisions

updating modernizr.js

  • new html5shiv?
    • if so, update the printshiv file in /i/js and its reference in builderapp.js
  • remove pre from version (2 places!). commit.
  • git tag -a the final
  • bump version to vX.Ypre so theres no confusion as to file versions

updating builder - deprecated

  • IGNORE THIS SECTION NOW. builderapp.js pulls from a data-* attr which pulls from config.yml
    • update builderapp.js with version number at top
    • run compress.sh
      • cd i/js && ./compress.sh && cd ../.. && jekyll
    • update download.html with a new cachebust url (not necessary anymore, i think..)
    • gem install guard-jekyll and then guard will help

updating site

  • update latest_version in https://github.com/Modernizr/modernizr.com/blob/gh-pages/_config.yml
  • update downloads/modernizr.js and downloads/modernizr-latest.js and add downloads/modernizr-X.Y.Z.js as new file.
    • or maybe we killed one or two of those. modernizr-latest.js is used by builderapp.js - also this
  • For the new News post, make sure to update _includes/latest-news.html accordingly. This is the “Latest news” sidebar content.

running the site

  • cd i/js && ./compress.sh && cd ../.. && jekyll (repeatedly on changes) (or use guard)
  • cd _site && python -m SimpleHTTPServer (or whathaveyou)

updating community detects

deploy that shit

  • push to gh-pages bro