strongloop / strong-tools

Tools for packaging, releasing, and preparing npm modules
Other
8 stars 7 forks source link

automate the apiconnect release workflow #58

Open sam-github opened 8 years ago

sam-github commented 8 years ago

current release for a top-level project:

example: first release of my-mod on the 1.2 branch of a toplevel repo destined for apic v5010

  1. prepare: ex. git checkout master; git fetch; git reset --hard origin/master; git clean -x -d
  2. npm i --production --ignore-scripts --no-optional
  3. npm shrinkwrap
  4. slt shrinkwrap
  5. slt-release -up 1.2.0
  6. git checkout -b 1.2.x v1.2.0
  7. npm dist-tag my-mod@1.2.0 apic-v5010
rmg commented 8 years ago

Created #63 and #64 as specific features for the dist-tag and release branch aspects.