Bump github-cli

This commit is contained in:
Bahar KURT
2025-04-19 19:10:42 +00:00
committed by GitHub
parent ca9ef05442
commit 3f80d0dc47
2 changed files with 11 additions and 3 deletions
+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.69.0 -X github.com/cli/cli/command.BuildDate=2025-03-22' \
-ldflags '-extldflags \"%s\" -X github.com/cli/cli/command.Version=v2.70.0 -X github.com/cli/cli/command.BuildDate=2025-04-19' \
-o 'bin/gh' ./cmd/gh" % get.LDFLAGS())
def install():
shelltools.cd("../cli-2.69.0")
shelltools.cd("../cli-2.70.0")
pisitools.insinto("/usr/bin", "bin/gh")
pisitools.dodoc("LICENSE", "README*")