You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I accidentally did hatch version minor when I meant to do hatch version patch. Now I'm stuck having to manually edit the file because hatch version won't let me downgrade even when I give an explicit version number.
$ hatch version
4.1.0
$ hatch version minor
Old: 4.1.0
New: 4.2.0
# Oops! I wanted 4.1.1
$ hatch version 4.1.1
# Traceback and then:
ValueError: Version `4.1.1` is not higher than the original version `4.2.0`
I think either hatch should allow downgrades when an explicit version number is given, or add a --force (or some such) option to allow for downgrades when I know what I'm doing.
The text was updated successfully, but these errors were encountered:
Let's say I accidentally did
hatch version minor
when I meant to dohatch version patch
. Now I'm stuck having to manually edit the file becausehatch version
won't let me downgrade even when I give an explicit version number.I think either hatch should allow downgrades when an explicit version number is given, or add a
--force
(or some such) option to allow for downgrades when I know what I'm doing.The text was updated successfully, but these errors were encountered: