cloudflare / certmgr

Automated certificate management using a CFSSL CA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

incorrect version for latest 3.0.3 release

justinpjose opened this issue · comments

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

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

- GOFLAGS=-mod=vendor gox -output="{{.Dir}}-{{.OS}}-{{.Arch}}-${TRAVIS_TAG:-${TRAVIS_COMMIT}}" -os='darwin dragonfly freebsd linux netbsd openbsd solaris' -osarch='!dragonfly/386 !darwin/arm64 !darwin/arm !linux/mips !linux/mipsle' -gcflags="-trimpath=${GOPATH}" -ldflags="-X github.com/cloudflare/certmgr/certmgr/cmd.currentVersion=$(git describe)" ./certmgr/

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