From 56f76b2fdfd5ca5a3e6199dc58a0e0aaa089117f Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Fri, 17 Nov 2017 16:50:37 -0800 Subject: [PATCH 1/2] reminder to fetch latest tags. --- build/changelog-generator/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/changelog-generator/index.js b/build/changelog-generator/index.js index 6ef54fd0f49b..a8cc319d960d 100644 --- a/build/changelog-generator/index.js +++ b/build/changelog-generator/index.js @@ -20,6 +20,12 @@ const parserOpts = { ], }; +process.stderr.write(` +> Be sure to have the latest git tags locally: + git fetch --tags + +`); + const writerOpts = { mainTemplate, headerPartial, From 42a6bfcb66754127c958e2ab22791076c9706e7f Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Fri, 17 Nov 2017 16:52:17 -0800 Subject: [PATCH 2/2] misc(changelog): use longhand flags because who remembers these things --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 156e6f1735cf..60ef4d454913 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "deploy-viewer": "cd lighthouse-viewer && gulp deploy", "bundlesize": "bundlesize", "plots-smoke": "bash plots/test/smoke.sh", - "changelog": "conventional-changelog -n ./build/changelog-generator/index.js -i changelog.md -s" + "changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile changelog.md --same-file" }, "devDependencies": { "@types/node": "^6.0.45",