2021-11-02 11:38:17 +00:00
|
|
|
## How To Generate Changelog
|
2021-06-04 22:12:38 +00:00
|
|
|
|
2021-08-05 11:19:13 +00:00
|
|
|
Generate github token:
|
|
|
|
* https://github.com/settings/tokens - keep all checkboxes unchecked, no scopes need to be enabled.
|
|
|
|
|
|
|
|
Dependencies:
|
|
|
|
```
|
2022-05-09 19:14:35 +00:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install git python3 python3-fuzzywuzzy python3-github
|
|
|
|
python3 changelog.py -h
|
2021-11-02 11:38:02 +00:00
|
|
|
```
|
2021-08-05 11:19:13 +00:00
|
|
|
|
2021-06-04 22:12:38 +00:00
|
|
|
Usage example:
|
|
|
|
|
|
|
|
```
|
2022-09-14 14:53:15 +00:00
|
|
|
git fetch --tags # changelog.py depends on having the tags available, this will fetch them
|
|
|
|
|
2022-05-09 19:14:35 +00:00
|
|
|
python3 changelog.py --output=changelog-v22.4.1.2305-prestable.md --gh-user-or-token="$GITHUB_TOKEN" v21.6.2.7-prestable
|
|
|
|
python3 changelog.py --output=changelog-v22.4.1.2305-prestable.md --gh-user-or-token="$USER" --gh-password="$PASSWORD" v21.6.2.7-prestable
|
2021-06-04 22:12:38 +00:00
|
|
|
```
|