This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,6 +130,21 @@ release = true | |
allow_dirty = false | ||
``` | ||
Example `pyproject.toml`: | ||
```tonl | ||
[tool.changelog_gen] | ||
commit = true | ||
release = true | ||
allow_dirty = false | ||
[changelog_gen.post_process] | ||
url = https://your-domain.atlassian.net/rest/api/2/issue/ISSUE-::issue_ref::/comment | ||
verb = POST | ||
body = {"body": "Released on v::version::"} | ||
auth_env = JIRA_AUTH | ||
``` | ||
### Configuration file -- Global configuration | ||
General configuration is grouped in a `[changelog_gen]` section. | ||
|
@@ -171,7 +186,7 @@ General configuration is grouped in a `[changelog_gen]` section. | |
**default**: None | ||
|
||
Create links in the CHANGELOG to the originating issue. A url that contains | ||
an `$ISSUE_REF` placeholder for replacement. | ||
an `issue_ref` placeholder for replacement. | ||
|
||
Example: | ||
|
||
|
@@ -395,8 +410,7 @@ url = https://your-domain.atlassian.net/rest/api/2/issue/ISSUE-::issue_ref::/com | |
verb = "POST" | ||
body = '{"body": "Released on ::version::"}' | ||
auth_env = "JIRA_AUTH" | ||
[tool.changelog_gen.post_process.headers] | ||
content-type = "application/json" | ||
headers."content-type" = "application/json" | ||
``` | ||
This assumes an environment variable `JIRA_AUTH` with the content `[email protected]:{api_key}`. | ||
See | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters