-
Notifications
You must be signed in to change notification settings - Fork 6
/
.releaserc.yml
62 lines (52 loc) · 1.5 KB
/
.releaserc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
branches:
- main
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
releaseRules:
- type: docs
release: patch
- type: refactor
release: patch
- type: style
release: patch
- type: bug
release: patch
parserOpts:
noteKeywords:
- BREAKING CHANGE
- BREAKING CHANGES
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
- - "@semantic-release/exec"
- "generateNotesCmd": "echo RELEASE_VERSION=v${nextRelease.version} > release.env"
- - "@semantic-release/changelog"
- changelogFile: docs/CHANGELOG.md
- - "@semantic-release/exec"
- prepareCmd: |
sed --in-place 's/__version__ = ".*"/__version__ = "${nextRelease.version}"/' hopprcop/__init__.py
poetry lock --no-update
poetry version ${nextRelease.version}
- - semantic-release-python
- setupPy: pyproject.toml
repoUrl: https://gitlab.com/api/v4/projects/38643089/packages/pypi
distDir: dist
- - "@semantic-release/git"
- message: |-
chore(release): ${nextRelease.version}
${nextRelease.notes}
assets:
- docs/CHANGELOG.md
- hopprcop/__init__.py
- pyproject.toml
- yarn.lock
- sbom.json
- poetry.lock
- LICENSE.md
- - "@semantic-release/gitlab"
- gitlabUrl: https://gitlab.com
gitlabApiPathPrefix: "/api/v4"
assets:
- sbom.json
- LICENSE.md