-
-
Notifications
You must be signed in to change notification settings - Fork 942
When running pre-commit autoupdate choose which type of update you want #3052
Copy link
Copy link
Closed
Description
search you tried in the issue tracker
autoupdate major
describe your actual problem
I have a package that is a GitHub Action as well as a pre-commit hook. So it updates in minor version v0.1.0 and has a major version tracking it v0 which will update automatically on tag. For the purpose of GitHub actions this is what I want as I can do paddyroddy/my-action@v0. But for the pre-commit hook I want to point to v0.1.0 and when I run pre-commit autoupdate it should go to v0.2.0, not v0 (as mutable reference error will happen). But this is what occurs when I run pre-commit autoupdate.
I tried the minor versions to be without v, i.e. 0.1.0 & v0. As well as v0.1.0 & 0 and that approach worked the same as if both had the v in front.
pre-commit --version
3.5.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels