Updates to use the cthulhu name with out the go suffix.
This commit is contained in:
1 parent
2ffc987806
commit
7629f838f8
15 files changed
+38
-38
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ def build_package(repoRoot, architecture, version, name):
|
||||
distRoot.mkdir(exist_ok=True)
|
||||
programPath = distRoot / f"{name}-linux-{architecture}"
|
||||
environment = dict(os.environ, CGO_ENABLED="0", GOOS="linux", GOARCH=architecture)
|
||||
environment.setdefault("GOCACHE", "/tmp/cthulhu-go-cache")
|
||||
environment.setdefault("GOCACHE", "/tmp/cthulhu-cache")
|
||||
subprocess.run(["go", "build", "-buildvcs=false", "-mod=readonly", "-trimpath",
|
||||
"-ldflags=-s -w", "-o", str(programPath), f"./{name}/src"],
|
||||
cwd=repoRoot, env=environment, check=True)
|
||||
|
||||
Reference in new issue
Block a user