Skip to content

Commit

Permalink
Merge pull request #8 from duncdrum/fix-strict-again
Browse files Browse the repository at this point in the history
chore(lint): strict linting
  • Loading branch information
joewiz authored Apr 20, 2024
2 parents 696c300 + ba7bd34 commit 0b5e272
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 25 deletions.
53 changes: 32 additions & 21 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,32 +1,43 @@
{
"branches": ["main"],
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "", "release": "patch" }
]
"preset": "conventionalcommits"
},
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
},
["@semantic-release/exec", {
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}],
["@semantic-release/git", {
"assets": ["package.json", "package-lock.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"assets": [
{
"path": "build/aws-xq.xar",
"name": "aws-xq.xar",
"label": "Expath package (aws-xq.xar)"
}
]
}]
[
"@semantic-release/exec",
{
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "build/aws-xq.xar",
"name": "aws-xq.xar",
"label": "Expath package (aws-xq.xar)"
}
]
}
]
]
}
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<echo message="Creating xar file..."/>
<echo message="------------------------------------------------------------"/>

<zip basedir="${basedir}" destfile="${build.dir}/${app.name}-${app.version}.xar">
<zip basedir="${basedir}" destfile="${build.dir}/${app.name}.xar">
<exclude name="${build.dir}/**"/>
<exclude name="*.tmpl"/>
<exclude name=".github/**"/>
Expand Down
4 changes: 1 addition & 3 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [1, 'always', 200],
'type-empty': [1, 'never'],
'subject-empty': [1, 'never']
'body-max-line-length': [1, 'always', 200]
}
}

0 comments on commit 0b5e272

Please sign in to comment.