Commit 67fa6de
committed
ci(release): guard against tag/CMakeLists VERSION drift
Mirrors the same guard added to polymarket-cpp + open-meteo-cpp this
hour. Fails the release job (before publishing) if the tag X.Y.Z
disagrees with the project(...) VERSION field in CMakeLists.txt.
The drift was a real shipped bug in 2 of the 6 sibling SDKs:
polymarket-cpp v0.1.1/v0.1.2/v0.1.3/v0.1.4 and open-meteo-cpp
v0.1.1/v0.1.2 all tagged with the project VERSION still on 0.1.0.
This repo is currently in sync but the same drift could happen on
any future release without the guard.1 parent 898c594 commit 67fa6de
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
25 | 45 | | |
26 | 46 | | |
27 | 47 | | |
| |||
0 commit comments