Skip to content

Instantly share code, notes, and snippets.

@ungoldman
Last active December 28, 2015 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ungoldman/7554049 to your computer and use it in GitHub Desktop.
Save ungoldman/7554049 to your computer and use it in GitHub Desktop.
Release You A Package

JS Release Steps

build

  1. lint, test
  2. bump versions in all relevant places
    • package.json, bower.json, banners, docs
  3. build

github release

  1. push & merge to master
  2. tag version, push tag (or use tag drafting in github)
  3. Attach binaries for download when applicable (for browsers in particular)

bower

  1. once you've tagged the release in github, run bower info packagename and bower will auto-discover version bump

npm

  1. npm publish (make sure you're logged in with the right account)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment