Skip to content

Instantly share code, notes, and snippets.

@gruppjo
Last active September 13, 2016 11:27
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 gruppjo/67bb00f3d59f37652556cae27289f5ed to your computer and use it in GitHub Desktop.
Save gruppjo/67bb00f3d59f37652556cae27289f5ed to your computer and use it in GitHub Desktop.
generator release actions

Prepare release notes:

Prepare release

  • git checkout dev and git rebase master to check for any lost updates (shouldn't happen!!)
  • git checkout master and git merge dev and git push
    • do this via PR? Then we get code coverage statistics, nice diffs etc. but will have to create several pull requests with the other steps.
  • run generator in generator-demo dev branch (conserve readme, add proper version number), commit, rebase, git push
  • demo: git checkout master and git merge dev and git push
  • check all links in release notes, readme, new guides, etc.
  • check builds of generator and demo

Release

  • git checkout dev update package.json version, commit
  • git checkout master merge into master
  • tag (git tag 1.10.0 -m '1.10.0') version in master branch of generator and demo git push --follow-tags
  • wait for builds to pass
  • npm publish (also generator-appmobi!!)
  • git checkout dev in both repos

Post Release

  • Create diffs for generator and demo and add to release notes
  • Publish release notes, close milestone
  • Post to slack, twitter, ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment