From 84e6bcf32c00f2a96b7e46de1366c972a01174a0 Mon Sep 17 00:00:00 2001 From: duncdrum Date: Mon, 8 Apr 2024 12:54:40 +0200 Subject: [PATCH 1/2] chore(lint): strict linting --- .releaserc | 5 +---- commitlint.config.cjs | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.releaserc b/.releaserc index 3fdf8fa..ee6140c 100644 --- a/.releaserc +++ b/.releaserc @@ -3,10 +3,7 @@ "plugins": [ "@semantic-release/commit-analyzer", { - "preset": "conventionalcommits", - "releaseRules": [ - { "type": "", "release": "patch" } - ] + "preset": "conventionalcommits" }, "@semantic-release/release-notes-generator", { 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 From ba7bd34f5e7785f70f38c75ede768a543f0cbbf7 Mon Sep 17 00:00:00 2001 From: duncdrum Date: Sat, 20 Apr 2024 21:54:08 +0200 Subject: [PATCH 2/2] fix(build): rename xar --- .releaserc | 48 +++++++++++++++++++++++++++++++----------------- build.xml | 2 +- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/.releaserc b/.releaserc index ee6140c..18906fb 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,7 @@ { - "branches": ["main"], + "branches": [ + "main" + ], "plugins": [ "@semantic-release/commit-analyzer", { @@ -9,21 +11,33 @@ { "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 @@ - +