diff options
-rw-r--r-- | doc/release.md | 2 | ||||
-rw-r--r-- | tbump.toml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/release.md b/doc/release.md index 89eaa0dc..04d323d7 100644 --- a/doc/release.md +++ b/doc/release.md @@ -5,7 +5,7 @@ So, you want to release the `X.Y.Z` version of astroid ? ## Process 1. Check if the dependencies of the package are correct -2. Install the release dependencies `pip3 install pre-commit copyrite tbump` +2. Install the release dependencies `pip3 install pre-commit tbump` 3. Bump the version and release by using `tbump X.Y.Z --no-push`. During the commit pre-commit and pyupgrade should remove the `encode utf8` automatically 4. Check the result and then push the tag. @@ -30,7 +30,7 @@ cmd = "python3 script/bump_changelog.py {new_version}" [[before_commit]] name = "Upgrade copyrights" -cmd = "copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8" +cmd = "pip3 install copyrite;copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8" # Or run some commands after the git tag and the branch # have been pushed: |