From b2b6ceb5f3f8e8bbf981680088a175435b2d57a8 Mon Sep 17 00:00:00 2001 From: "Marcus R. Brown" Date: Sat, 2 Sep 2023 00:46:40 -0700 Subject: [PATCH] fix: adjust `.releaserc` formatting (#48) --- .releaserc.yaml | 76 ++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/.releaserc.yaml b/.releaserc.yaml index e063757..705b270 100644 --- a/.releaserc.yaml +++ b/.releaserc.yaml @@ -1,47 +1,51 @@ branches: [main] plugins: - - - '@semantic-release/commit-analyzer' - - releaseRules: - - type: build - release: patch - - type: ci - release: patch - - type: docs - release: patch + - '@semantic-release/commit-analyzer' - - - '@semantic-release/release-notes-generator' - - presetConfig: - types: - - type: feat - section: 'Features' - - type: features - section: 'Features' - - type: fix - section: 'Bug Fixes' - - type: perf - section: 'Performance Improvements' - - type: revert - section: 'Reverts' - - type: docs - section: 'Documentation' - - type: style - section: 'Styles' - - type: chore - section: 'Miscellaneous Chores' - - type: refactor - section: 'Code Refactoring' - - type: test - section: 'Tests' - - type: build - section: 'Build System' - - type: ci - section: 'Continuous Integration' + - '@semantic-release/release-notes-generator' - - '@semantic-release/git' - assets: ['dist/index.js'] message: 'build(release): compiled action for ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}' - - '@semantic-release/github' + - - '@semantic-release/github' + - successComment: false + +analyzeCommits: + releaseRules: + - type: build + release: patch + - type: ci + release: patch + - type: docs + release: patch preset: conventionalcommits + +presetConfig: + types: + - type: feat + section: 'Features' + - type: features + section: 'Features' + - type: fix + section: 'Bug Fixes' + - type: perf + section: 'Performance Improvements' + - type: revert + section: 'Reverts' + - type: docs + section: 'Documentation' + - type: style + section: 'Styles' + - type: chore + section: 'Miscellaneous Chores' + - type: refactor + section: 'Code Refactoring' + - type: test + section: 'Tests' + - type: build + section: 'Build System' + - type: ci + section: 'Continuous Integration'