Skip to content

Commit f162d81

Browse files
authored
ci: fix release configuration issues (#14)
1 parent e6f6a40 commit f162d81

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

.github/workflows/release-new-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
dry_run:
77
type: boolean
88
default: false
9-
description: Perform as a dry run
9+
description: Perform as dry run
1010

1111
jobs:
1212
release_new_version:

.releaserc.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
plugins:
3+
- - '@semantic-release/commit-analyzer'
4+
- preset: angular
5+
releaseRules:
6+
- { type: docs, release: patch }
7+
- { type: refactor, release: patch }
8+
- { type: style, release: patch }
9+
parserOpts:
10+
noteKeywords: [BREAKING CHANGE, BREAKING CHANGES]
11+
12+
- - '@semantic-release/release-notes-generator'
13+
- preset: conventionalcommits
14+
presetConfig:
15+
types:
16+
- { type: feat, section: Features, hidden: false }
17+
- { type: fix, section: Bug Fixes, hidden: false }
18+
- { type: perf, section: Performance, hidden: false }
19+
- { type: refactor, section: Refactor, hidden: false }
20+
- { type: test, section: Tests, hidden: false }
21+
- { type: revert, section: Reverts, hidden: false }
22+
- { type: docs, section: Documentation, hidden: false }
23+
- { type: ci, section: Continuous Integration, hidden: true }
24+
- { type: build, section: Build System, hidden: false }
25+
26+
- - '@semantic-release/changelog'
27+
- {}
28+
29+
- - '@semantic-release/github'
30+
- {}
31+
32+
- - '@semantic-release/npm'
33+
- {}
34+
35+
- - '@semantic-release/git'
36+
- assets:
37+
- package.json
38+
- CHANGELOG.md
39+
message: |-
40+
chore(release): ${nextRelease.version} [skip ci]
41+
42+
${nextRelease.notes}

0 commit comments

Comments
 (0)