github-cli: use GH_VERSION to make sure our binary is properly versioned

This commit is contained in:
Paul Mulders 2021-06-11 23:01:15 +02:00
parent 302ee5abfc
commit 90eb2722f9
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ BUGS_TO="hasufell@posteo.de"
src_compile() { src_compile() {
export GOPATH="${WORK}"/.gopath export GOPATH="${WORK}"/.gopath
export GOBIN="${WORK}"/.bin export GOBIN="${WORK}"/.bin
export GH_VERSION="v${PV}"
unset LDFLAGS unset LDFLAGS
esandbox disable_net esandbox disable_net