Commit bb8dfdf6 authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Fixed CI LDFLAGS

parent c03e08d9
Pipeline #22339 passed with stage
in 1 minute and 5 seconds
......@@ -6,11 +6,11 @@ server:
# TWITCH_CLIENT_ID is supplied via the GitLab CI/CD environment variables. This way only project owners can see the private key
variables:
LDFLAGS: -s -X main.twitchClientID=$TWITCH_CLIENT_ID -X main.version=${CI_COMMIT_TAG:-untagged}-$CI_COMMIT_SHORT_SHA
LDFLAGS: "-s -X main.twitchClientID=$TWITCH_CLIENT_ID -X main.version=${CI_COMMIT_TAG:-untagged}-$CI_COMMIT_SHORT_SHA"
before_script:
- go mod download
- echo "building with LDFLAGS: $LDFLAGS"
- echo "building with LDFLAGS = $LDFLAGS"
script:
- env GOOS=darwin GOARCH=386 go build -ldflags "$LDFLAGS" -o binaries/darwin-x86/stream-tv-server ./cmd/stream-tv-server
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment