From 4c72595fc97d8a6ea9edc2ec54a76f20fede5946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ou=C5=A1ek?= Date: Tue, 5 Sep 2023 08:49:02 +0200 Subject: [PATCH] ci: fix sections in upgrade notes --- .releaserc.json | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.releaserc.json b/.releaserc.json index 721d27be..efc46ec3 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -22,52 +22,57 @@ "types": [ { "type": "feat", - "hidden": false + "section": "Features" }, { "type": "fix", - "hidden": false + "section": "Bug Fixes" }, { "type": "perf", - "hidden": false + "section": "Performance Improvements" }, { "type": "revert", - "hidden": false + "section": "Reverts" }, { "type": "docs", + "section": "Documentation", "hidden": true }, { "type": "style", + "section": "Code style", "hidden": true }, { "type": "chore", + "section": "Others", "hidden": true }, { "type": "refactor", + "section": "Refactoring", "hidden": true }, { "type": "test", + "section": "Tests", "hidden": true }, { "type": "build", + "section": "Build", "hidden": true }, { "type": "ci", + "section": "CI", "hidden": true } ], - "issuePrefixes": [ - "ST" - ], + "issuePrefixes": ["ST"], "issueUrlFormat": "https://perunaai.atlassian.net/browse/{{prefix}}{{id}}" }, "parserOpts": { @@ -98,12 +103,7 @@ [ "@semantic-release/git", { - "assets": [ - [ - "**/pom.xml" - ], - "UPGRADE.md" - ], + "assets": [["**/pom.xml"], "UPGRADE.md"], "message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}" } ], @@ -128,4 +128,3 @@ ] ] } -