- compare HEAD with most recent release to determine new semver level (fundemental/breaking changes = bump major, new feature-detects/publically-exposed-util = bump minor, update to existing code (in non behavior changing way) = bump patch). Github compare view is handy here (e.g. https://github.com/Modernizr/Modernizr/compare/v3.3.1...master)
- update package.json version to new semver version
- run
git tag ${semver}
(e.g.git tag v3.4.0
), then push the tags (git push --tags
) - npm publish
- log into the modernizr.com server
cd ~/modernizr-neue
npm update && bower update
npm run deploy
pm2 restart 0
- write blog post explaining what has changed between versions
Last active
May 24, 2017 05:34
-
-
Save patrickkettner/9695bda2469b21b8d3332ec93e914206 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice I like to use
npm version [major/minor/patch] -m "what changed"
could work in this flow too.