Update README.md

When running `changelog.py` I did not have tags and needed to supply a `--from` with a commit SHA.  Having the tags allows the script to go back to the last release.
This commit is contained in:
Dan Roscigno 2022-09-13 17:23:41 -04:00 committed by GitHub
parent 32ad082f57
commit ad9e7be566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ python3 changelog.py -h
Usage example: Usage example:
``` ```
git fetch --all # changelog.py depends on having the tags available, this will fetch them
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="$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 python3 changelog.py --output=changelog-v22.4.1.2305-prestable.md --gh-user-or-token="$USER" --gh-password="$PASSWORD" v21.6.2.7-prestable
``` ```