Skip to content

Commit 6a98b68

Browse files
Fixed typo (#66)
just a missing space
1 parent db2be1e commit 6a98b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user_guide/2-migrating-to-semver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ There is no concept of a revision or a post-release in [Semver][semver].
5454
However, with `build=post`, for instance you could add the build identifiers *post* and *1* which would be similar to a PEP 440 post-release.
5555
Like in PEP 440, also in Semver build identifiers have the same precedence.
5656

57-
The abbreviations `a`, `b`, and `c` for `alpha`, `beta`, `rc`, and `preview`,respectively, are also not supported and will result in [python-semver][python-semver] throwing a `ValueError` with *... is not a valid SemVer string*. Hatch-semver actually uses `pre` as an alias for [pre-release][prerelease].
57+
The abbreviations `a`, `b`, and `c` for `alpha`, `beta`, `rc`, and `preview`, respectively, are also not supported and will result in [python-semver][python-semver] throwing a `ValueError` with *... is not a valid SemVer string*. Hatch-semver actually uses `pre` as an alias for [pre-release][prerelease].
5858

5959
Semver allows custom identifiers in prereleases, so if you really wanted an `a0` pre-release, you could achieve it by bumping to a specific version, i.e. `hatch version 1.2.3-a0` although such alphanumeric identifiers [cannot be bumped][unbumpable] by [python-semver].
6060
Better go with `1.2.3-a.1` which could be bumped to `1.2.3-a.2`, `1.2.3-a.3` etc.

0 commit comments

Comments
 (0)