forked from PaloAltoNetworks/pan-os-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.json
32 lines (32 loc) · 1.02 KB
/
.releaserc.json
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
{
"preset": "conventionalcommits",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "poetry run .github/set-version.sh ${nextRelease.version}",
"publishCmd": "poetry publish --build"
}
],
[
"@semantic-release/git",
{
"assets": [
"pyproject.toml",
"setup.py",
"README.rst",
"panos/__init__.py"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"successComment": ":tada: This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:\n\nThe release is available on [PyPI](https://pypi.org/project/pan-os-python/) and [GitHub release](<github_release_url>)\n\n> Posted by [semantic-release](https://github.com/semantic-release/semantic-release) bot"
}
]
]
}