Skip to content

Commit b85df45

Browse files
committed
Use semver2 version format
Since this package is both a Python package and a NPM package, and Python can tolerate semver2 version format, let's go for this.
1 parent 9cfb5b9 commit b85df45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ regex = '''
163163
(?P<minor>\d+)
164164
\.
165165
(?P<patch>\d+)
166-
(?P<pre>((a|b|rc)\d+)|)
167-
\.?
168-
(?P<dev>(?<=\.)dev\d*|)
166+
-?
167+
(?P<pre>((alpha|beta|rc)\.\d+)|)
168+
(?P<dev>(dev\.\d+)|)
169169
'''
170170

171171
[tool.tbump.git]

0 commit comments

Comments
 (0)