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
I have been finding hatch-vcs (built on top of setuptools-scm) to be a
bit too finicky, so I am switching to versioningit.
Signed-off-by: JP-Ellis <josh@jpellis.me>
Copy file name to clipboardExpand all lines: docs/releases.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ There are a couple of exceptions to the [semantic versioning](https://semver.org
17
17
18
18
Any deviation from the the standard semantic versioning rules will be clearly documented in the release notes.
19
19
20
-
The version is stored in `pact/__version__.py`. This file is automatically generated by [`hatch-vcs`](https://pypi.org/project/hatch-vcs/) and generates a version based on the latest version tag and the number of commits since that tag. Specifically:
20
+
The version is stored in `pact/__version__.py`. This file is automatically generated by [`versioningit`](https://versioningit.readthedocs.io/en/stable/) and generates a version based on the latest version tag and the number of commits since that tag. Specifically:
21
21
22
22
- If the latest tag is `v1.2.3` and there have been no commits since then and the repository is clean, the version will be `1.2.3`.
23
-
- Otherwise, the version will take the form of `1.2.3.dev{N}+g{hash}` (or `1.2.3.dev{N}+g{hash}.d{date}` if there's a dirty repository) where `N` is the number of commits since the latest tag, `hash` is the short hash of the latest commit.
23
+
- Otherwise, the version will take the form of a post-release based on the last version.
0 commit comments