Skip to content

Commit

Permalink
Merge pull request #12 from duncdrum/feat-flex-lint
Browse files Browse the repository at this point in the history
feat(lint): empty type patch
  • Loading branch information
joewiz authored Apr 8, 2024
2 parents 036b666 + c3a69f3 commit a5e990a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
15 changes: 12 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "", "release": "patch" }
]
},
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
},
["@semantic-release/exec", {
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}],
Expand All @@ -13,9 +22,9 @@
["@semantic-release/github", {
"assets": [
{
"path": "build/hac-*.xar",
"name": "hac-${nextRelease.version}.xar",
"label": "Expath package (hac-${nextRelease.version}.xar)"
"path": "build/hac.xar",
"name": "hac.xar",
"label": "Expath package (hac.xar)"
}
]
}]
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ Source data for [Historical Advisory Committee](https://history.state.gov/about/

## Release

Releases for this data package are automated. Any commit to the `master`` branch will trigger the release automation.
Releases for this data package are automated. Any commit to the `master` branch will trigger the release automation.

All commit message must conform to [Conventional Commit Messages](https://www.conventionalcommits.org/en/v1.0.0/) to determine semantic versioning of releases, please adhere to these conventions, like so:

All commit messages must conform to [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) to determine semantic versioning of releases, please adhere to these conventions, like so:

| Commit message | Release type |
|-----------------|--------------|
Expand Down
10 changes: 7 additions & 3 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
module.exports = {
extends: ['@commitlint/config-angular'],
rules: { 'body-max-line-length': [0] }
}
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [1, 'always', 200],
'type-empty': [1, 'never'],
'subject-empty': [1, 'never']
}
}

0 comments on commit a5e990a

Please sign in to comment.