diff --git a/.releaserc b/.releaserc index 3fdf8fa..18906fb 100644 --- a/.releaserc +++ b/.releaserc @@ -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)" + } + ] + } + ] ] } \ No newline at end of file diff --git a/build.xml b/build.xml index 3555849..252926b 100644 --- a/build.xml +++ b/build.xml @@ -40,7 +40,7 @@ - + diff --git a/commitlint.config.cjs b/commitlint.config.cjs index a3155c1..57eb458 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -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] } } \ No newline at end of file