Commit e996bebc authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Chore: optimise release notes generation

parent e27bdf3b
......@@ -18,7 +18,7 @@
"note:lerna:test": "we use the `--canary` flag to simplify testing, correct versions can be selected when running `lerna:publish`",
"lerna:publish": "lerna publish --no-git-tag-version --no-push && git reset --hard && lerna publish --no-git-tag-version --no-push --skip-npm --ignore-scripts",
"note:lerna:publish": "it's a known issue that you need to supply the version twice, we're working a solution for this",
"releasenotes": "git show -U0 --raw $(git describe --abbrev=0 --tags $(git rev-list --tags --skip=0 --max-count=1))..HEAD --pretty=format:'%n {{ notes(\"COMPONENTNAME\", \"VERSIONHERE\", \"%H\") }} %n \"commit\": \"%H\",%n \"abbreviated_commit\": \"%h\",%n \"subject\": \"%s\",%n \"sanitized_subject_line\": \"%f\",%n \"author\": {%n \"name\": \"%aN\",%n \"email\": \"%aE\",%n \"date\": \"%aD\"%n },%n' --output=tools/vf-component-library/src/site/updates/$(date +%F)-component-updates.njk -- **/",
"releasenotes": "git show -U0 --raw $(git describe --abbrev=0 --tags $(git rev-list --tags --skip=0 --max-count=1))..HEAD --pretty=format:'%n{{ releaseLinks.notes(\"COMPONENTNAME\", \"VERSIONHERE\", \"%H\") }} %n' --output=tools/vf-component-library/src/site/updates/$(date +%F)-component-updates.njk -- **/",
"prepublishOnly": "cd tools/vf-core && gulp vf-core:prepare-deploy",
"prepare": "husky install",
"generate-component": "gulp --gulpfile .\\node_modules\\@visual-framework\\vf-component-generator\\gulpfile.js vf-component"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment