Skip to content

build: allow lightweight tags to be used for registry version

Semantic release does not annotate the tag it creates, so the registry binary does not currently get built with the release tag.

For instance:

14:41 $ git ck v3.7.0-gitlab

HEAD is now at 03397be7 chore(release): 3.7.0
✔  ~/go/src/github.com/docker/distribution [v3.7.0-gitlab|✔ ]
14:41 $ git describe --match 'v[0-9]*' --dirty='.m' --always
v3.6.2-gitlab-33-g03397be7

✔  ~/go/src/github.com/docker/distribution [v3.7.0-gitlab|✔ ]
14:41 $ git describe --tags --match 'v[0-9]*' --dirty='.m' --always
v3.7.0-gitlab

Merge request reports

Loading