Commit d81a252
feat: inject release tag as version at build time via build.rs
CNCTL_VERSION env var overrides CARGO_PKG_VERSION at compile time so
cnctl --version prints the date+sha release tag instead of 0.1.0.
The release workflow now sets CNCTL_VERSION to the computed date+sha.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 60a73b8 commit d81a252
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | | - | |
| 71 | + | |
69 | 72 | | |
70 | | - | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments