Commit f7e80c0
fix: allow digits in the pre-release semver tag (#355)
#### Relevant issue or PR
#### Description of changes
Currently, tesseracts are not allowed to have digits in the pre-release
section of the version/tag. This changes that behavior to allow that,
e.g. `1.2.3-rc2`.
#### Testing done
Tested manually:
```console
$ uv run tesseract build --tag 1.2.3-rc2 examples/vectoradd
[i] Building image ...
[i] Built image sha256:41b380c24c95, ['vectoradd:1.2.3-rc2']
["vectoradd:1.2.3-rc2"]
```
---------
Signed-off-by: Heitor Pascoal de Bittencourt <heitorpbittencourt@gmail.com>
Co-authored-by: Alessandro Angioi <alessandro.angioi@simulation.science>1 parent 1c1b5c7 commit f7e80c0
File tree
2 files changed
+2
-2
lines changed- tesseract_core/sdk
- tests/sdk_tests
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments