`FATA[0002] variable pkg/version.DownloadableVersion is unset `
AkihiroSuda opened this issue · 0 comments
AkihiroSuda commented
/ # repro-get --version
repro-get version 0.1.1
/ # repro-get --distro=debian dockerfile generate . debian:bullseye-20211220 gcc build-essential
FATA[0002] variable pkg/version.DownloadableVersion is unset (Hint: rebuild the binary with the upstream Makefile)
https://github.com/reproducible-containers/repro-get/actions/runs/3225221953/jobs/5277266250
#9 [build-artifacts 4/6] RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go make && make install
#9 sha256:dd62cc4fdd5a0552b07a31033fd848a099857dcb4d82696b76357f6bbcad9bb8
#9 1.085 fatal: No annotated tags can describe '28f38b238d89aed5ecb8955a51c8[75](https://github.com/reproducible-containers/repro-get/actions/runs/3225221953/jobs/5277266250#step:3:76)37570d1233'.
#9 1.085 However, there were unannotated tags: try --tags.
#9 1.086 go build -trimpath -ldflags="-s -w -X github.com/reproducible-containers/repro-get/pkg/version.Version=v0.1.1 -X github.com/reproducible-containers/repro-get/pkg/version.DownloadableVersion=" -o _output/bin/repro-get ./cmd/repro-get