Skip to content

Commit baad9ca

Browse files
Develop (#11)
* fixed #10
1 parent baf5905 commit baad9ca

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
<!-- towncrier release notes start -->
44

5+
## [0.0.6](https://github.com/Nagidal/hatch-semver/tree/0.0.6) - 2022-11-10
6+
7+
8+
### Bugfixes
9+
10+
- Major version should be bumpable now [#10](https://github.com/Nagidal/hatch-semver/issues/10)
11+
12+
13+
## [0.0.5](https://github.com/Nagidal/hatch-semver/tree/0.0.5) - 2022-11-10
14+
15+
No significant changes.
16+
17+
518
## [0.0.4](https://github.com/Nagidal/hatch-semver/tree/0.0.4) - 2022-11-10
619

720

src/hatch_semver/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
__maintainer__ = __author__
99
__maintainer_email__ = __author_email__
1010
__release_date__ = date(year=2022, month=11, day=10)
11-
__version__ = "0.0.4"
11+
__version__ = "0.0.6"
1212

src/hatch_semver/semver_scheme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SemverScheme(VersionSchemeInterface):
1616
def update(self, desired_version, original_version, version_data) -> str:
1717
from semver import VersionInfo
1818

19-
original = VersionInfo(original_version)
19+
original = VersionInfo.parse(original_version)
2020
parts = desired_version.replace("micro", "patch").replace("fix", "patch").split(",")
2121

2222
for part in parts:

0 commit comments

Comments
 (0)