Wire process identity cancellation and shared HTTP server lifecycle
This commit is contained in:
@@ -11,6 +11,7 @@ steps:
|
||||
export GOTOOLCHAIN=local
|
||||
|
||||
version="$CI_COMMIT_TAG"
|
||||
revision="$CI_COMMIT_SHA"
|
||||
dist="dist"
|
||||
pkg="gitea.maximumdirect.net/eric/scriptorium/cmd/scriptorium"
|
||||
notes="docs/releases/$version.md"
|
||||
@@ -31,7 +32,7 @@ steps:
|
||||
output="$dist/scriptorium-$version-$goos-$goarch$suffix"
|
||||
|
||||
CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \
|
||||
go build -trimpath -ldflags "-s -w" \
|
||||
go build -trimpath -ldflags "-s -w -X main.version=$version -X main.revision=$revision" \
|
||||
-o "$output" "$pkg"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user