Repository navigation
Commit d38c99b
Append .devN version suffix for TestPyPI uploads
On push to main, the build step reads the current version from
pyproject.toml and appends .devN (where N = GITHUB_RUN_NUMBER) before
building. This produces unique, PEP 440-compliant developmental
release versions (e.g. 0.1.0.dev42) for TestPyPI.
For release events, the version is used as-is for PyPI.
Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>1 parent 8cc9b7d commit d38c99b
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
| |||
0 commit comments