Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
embl.org
vf-core-mirror
Commits
e996bebc
Commit
e996bebc
authored
Nov 30, 2021
by
Ken Hawkins
Browse files
Chore: optimise release notes generation
parent
e27bdf3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
package.json
package.json
+1
-1
No files found.
package.json
View file @
e996bebc
...
...
@@ -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 -- **/CHANGELOG.md"
,
"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 -- **/CHANGELOG.md"
,
"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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment