github-cli: version number

This commit is contained in:
Kamil ATLI
2025-02-25 12:57:55 +03:00
committed by GitHub
parent a899f309c9
commit 5bd44684da
+2 -2
View File
@@ -11,10 +11,10 @@ from pisi.actionsapi import get
def build():
shelltools.system("go build \
-trimpath \
-ldflags '-extldflags \"%s\" -X github.com/cli/cli/command.Version=v2.64.0 -X github.com/cli/cli/command.BuildDate=2024-12-31' \
-ldflags '-extldflags \"%s\" -X github.com/cli/cli/command.Version=v2.67.0 -X github.com/cli/cli/command.BuildDate=2025-02-25' \
-o 'bin/gh' ./cmd/gh" % get.LDFLAGS())
def install():
shelltools.cd("../cli-2.64.0")
shelltools.cd("../cli-2.67.0")
pisitools.insinto("/usr/bin", "bin/gh")
pisitools.dodoc("LICENSE", "README*")