mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Merge pull request #2669 from balena-io/fix-versionist-conf
Fix versionist conf
This commit is contained in:
commit
752ba4405c
@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## v1.5.2 - 2019-02-26
|
||||
|
||||
- Enable versionist editVersion
|
||||
|
||||
## v1.5.1 - 2019-02-22
|
||||
|
||||
### Misc
|
||||
|
2
npm-shrinkwrap.json
generated
2
npm-shrinkwrap.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "balena-etcher",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -31,9 +31,7 @@ module.exports = {
|
||||
fromLine: 5
|
||||
},
|
||||
|
||||
includeCommitWhen: (commit) => {
|
||||
return commit.footer['Changelog-entry']
|
||||
},
|
||||
includeCommitWhen: 'has-changelog-entry',
|
||||
|
||||
getIncrementLevelFromCommit: (commit) => {
|
||||
if (/none/i.test(commit.footer['Change-type'])) {
|
||||
@ -44,6 +42,9 @@ module.exports = {
|
||||
},
|
||||
|
||||
transformTemplateData: (data) => {
|
||||
if (data.commits.length === 0) {
|
||||
throw new Error('No commits annotated with Changelog-entry')
|
||||
}
|
||||
data.features = data.commits.filter((commit) => {
|
||||
return commit.subject.type === 'feat'
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user