Merge pull request #15891 from Rmys/master

github-cli ver. bump
This commit is contained in:
Rmys
2024-12-31 17:30:42 +03:00
committed by GitHub
+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.59.0 -X github.com/cli/cli/command.BuildDate=2024-10-20' \
-ldflags '-extldflags \"%s\" -X github.com/cli/cli/command.Version=v2.64.0 -X github.com/cli/cli/command.BuildDate=2024-12-31' \
-o 'bin/gh' ./cmd/gh" % get.LDFLAGS())
def install():
shelltools.cd("../cli-2.59.0")
shelltools.cd("../cli-2.64.0")
pisitools.insinto("/usr/bin", "bin/gh")
pisitools.dodoc("LICENSE", "README*")