I fixed the swallowing of leading zeroes by setting the CMP0096 to NEW, I also removed manual renaming of the package files and instead give them proper names through CPack. I also added a check to make sure that the project version matches the tag name. Sample release looks like this using this CD script, when the project version mismatches the tag name, the script fails like this.
Fixes #57
I fixed the swallowing of leading zeroes by setting the CMP0096 to
NEW
, I also removed manual renaming of the package files and instead give them proper names through CPack. I also added a check to make sure that the project version matches the tag name. Sample release looks like this using this CD script, when the project version mismatches the tag name, the script fails like this.Feel free to squash.