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

Fixed CI LDFLAGS again

parent bb8dfdf6
Pipeline #22340 passed with stage
in 1 minute and 3 seconds
......@@ -4,12 +4,10 @@ server:
stage: build
image: golang:1.12
# 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"
before_script:
- go mod download
# TWITCH_CLIENT_ID is supplied via the GitLab CI/CD environment variables. This way only project owners can see the private key
- export LDFLAGS="-s -X main.twitchClientID=$TWITCH_CLIENT_ID -X main.version=${CI_COMMIT_TAG:-untagged}-$CI_COMMIT_SHORT_SHA"
- echo "building with LDFLAGS = $LDFLAGS"
script:
......
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