mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
23 lines
661 B
Markdown
23 lines
661 B
Markdown
## How To Generate Changelog
|
|
|
|
Generate github token:
|
|
* https://github.com/settings/tokens - keep all checkboxes unchecked, no scopes need to be enabled.
|
|
|
|
Dependencies:
|
|
```
|
|
sudo apt-get update
|
|
sudo apt-get install git python3 python3-thefuzz python3-github
|
|
python3 changelog.py -h
|
|
```
|
|
|
|
Usage example:
|
|
|
|
Note: The working directory is ClickHouse/utils/changelog
|
|
|
|
```bash
|
|
GITHUB_TOKEN="<your token>"
|
|
|
|
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
|
|
```
|