Wire process identity cancellation and shared HTTP server lifecycle
This commit is contained in:
@@ -92,7 +92,8 @@ host_os=$(go env GOHOSTOS)
|
||||
host_arch=$(go env GOHOSTARCH)
|
||||
GOOS="$host_os" GOARCH="$host_arch" CGO_ENABLED=1 go test -race ./...
|
||||
for arch in amd64 arm64; do
|
||||
GOOS=linux GOARCH="$arch" CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' \
|
||||
GOOS=linux GOARCH="$arch" CGO_ENABLED=0 go build -trimpath \
|
||||
-ldflags "-s -w -X main.version=$version -X main.revision=$candidate" \
|
||||
-o "$release_tmp/scriptorium-$version-linux-$arch" ./cmd/scriptorium
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user