Commit 8a82927
Add the option of making prereleases.
https://semver.org/spec/v2.0.0.html specifies how these look like. We allow just appending "-[0-9a-z]*". (So e.g we can add -pre0 to the version).
Also change the regexes to actually require a "." instead of allowing an arbitrary character.
PiperOrigin-RevId: 816701210
Change-Id: Ia55e89bb82d1084f6788699f620f1fed1da8549a1 parent 6737b1e commit 8a82927
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 87 | + | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
0 commit comments