iLexN
9/15/2017 - 2:33 AM

npm version

nodejs npm dump version

  1. Pull latest code under the npm module git directory under uat.
cd /git/scmp-preprocess-term
git checkout uat
git pull
  1. git merge uat into master
git checkout master
git merge uat --no-ff
  1. Grab the commit diff between last version (e.g v1.0.4) and current
git log --pretty=oneline --abbrev-commit v1.0.4..head --no-merges

Sample output

f6cba03 refs #17570: Update AD width.
0b8acf6 refs #17639: fix a bug in article type lib
5377aaf refs #17570: Fix typo.
269c6a5 refs #17639: fix a bug in article type lib
91341ba refs #17570: Minor bug fix.
9d03419 refs #17570: Add advert + onColumn theme.
1a38345 refs #17435: Add target
bc5cb5b refs #17431: add the target in topic js to render the target
83ed0c8 refs #17280, #17281: add context object in getLayoutData return
e09e7e5 refs #16973: Fix comment page
  1. Update npm with git tag with message:

Press enter with following command to enter multiple lines message

npm version patch -m "

Complete the input with close "

npm version patch -m "
> f6cba03 refs #17570: Update AD width.
> 0b8acf6 refs #17639: fix a bug in article type lib
> 5377aaf refs #17570: Fix typo.
> 269c6a5 refs #17639: fix a bug in article type lib
> 91341ba refs #17570: Minor bug fix.
> 9d03419 refs #17570: Add advert + onColumn theme.
> 1a38345 refs #17435: Add target
> bc5cb5b refs #17431: add the target in topic js to render the target
> 83ed0c8 refs #17280, #17281: add context object in getLayoutData return
> e09e7e5 refs #16973: Fix comment page
> "
  1. Push the changes and tag to remote
git push
git push --tags
  1. Merge to UAT
git checkout development
git merge --no-ff master