From ad9e7be56617f51afd1d4e6c86c23444ad6040ad Mon Sep 17 00:00:00 2001 From: Dan Roscigno Date: Tue, 13 Sep 2022 17:23:41 -0400 Subject: [PATCH] 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. --- utils/changelog/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/changelog/README.md b/utils/changelog/README.md index 8218af83d96..7ecc727d248 100644 --- a/utils/changelog/README.md +++ b/utils/changelog/README.md @@ -13,6 +13,7 @@ python3 changelog.py -h 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="$USER" --gh-password="$PASSWORD" v21.6.2.7-prestable ```