cloudflare / certmgr

Automated certificate management using a CFSSL CA.
BSD 2-Clause "Simplified" License
218 stars 40 forks source link

incorrect version for latest 3.0.3 release #107

Open justinpjose opened 3 years ago

justinpjose commented 3 years ago

certmgr version is showing the version v3.0.1-15-gec8c2be instead of v3.0.3

FYI, using certmgr-linux-amd64-v3.0.3.tar.gz

ChrisChoke commented 2 years ago

they get the version from git describe from here for the building process:

https://github.com/cloudflare/certmgr/blob/4af0d7701d7500080ddc53bebb9c3d85977df3e4/.travis.yml#L18

it seems that the tag of 3.0.2 and 3.0.3 are lightweight tags. so that git describe will refer to the last annotated tag which ist version 3.0.1. i think git describe --tags will solve this for the future building processes.

Chris