summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2019-04-26 12:40:22 +0200
committerAgostino Sarubbo <ago@gentoo.org>2019-04-26 12:40:33 +0200
commit80d52390cebc150bc984c4a7db6a3148c16b325c (patch)
tree77481a96ceed64fa02433df2bc176c1bc5bef270 /app-admin/hcloud
parentapp-emulation/runc: Version bump to 1.0.0_rc8 (diff)
downloadgentoo-80d52390cebc150bc984c4a7db6a3148c16b325c.tar.gz
gentoo-80d52390cebc150bc984c4a7db6a3148c16b325c.tar.bz2
gentoo-80d52390cebc150bc984c4a7db6a3148c16b325c.zip
app-admin/hcloud: report a correct version
Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'app-admin/hcloud')
-rw-r--r--app-admin/hcloud/hcloud-1.12.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/hcloud/hcloud-1.12.0.ebuild b/app-admin/hcloud/hcloud-1.12.0.ebuild
index f19f65fda3ff..4367320daaac 100644
--- a/app-admin/hcloud/hcloud-1.12.0.ebuild
+++ b/app-admin/hcloud/hcloud-1.12.0.ebuild
@@ -16,7 +16,7 @@ DEPEND="dev-lang/go:="
RESTRICT="strip"
src_compile() {
- go build -mod vendor -o ${PN} ./cmd/${PN} || die "build failed"
+ go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed"
}
src_install() {