Commit 72a8ed2
Update nightly PyPI workflow to improve version computation (#99)
Summary:
- Refactor version computation logic to ensure it fails gracefully if no tags are found, providing a clear error message.
- Change the nightly version format to use the next patch version based on the latest tag, appending a timestamp for uniqueness.
- Ensure build tools are installed before the build step.
These changes fixes the bug that the nightly version is older than stable version, and enhance the reliability and clarity of the nightly build process.
Pull Request resolved: #99
Reviewed By: sfzhu93
Differential Revision: D82224384
Pulled By: FindHao
fbshipit-source-id: 6bfd2f447e3be585da9047e46ce1de01163cca481 parent ad917ac commit 72a8ed2
1 file changed
Lines changed: 18 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 26 | + | |
33 | 27 | | |
34 | 28 | | |
35 | 29 | | |
36 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
37 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | | - | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
0 commit comments