From e1de0c68420d2bccbe35b5413170a2adb4e62cf5 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Wed, 9 Sep 2015 12:26:32 -0700 Subject: [PATCH] Use Go 1.5 linker flag syntax [ci skip] --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 277d605749..5b619ac64f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -167,7 +167,7 @@ go install ./... To set the version and commit flags during the build pass the following to the build command: ```bash --ldflags="-X main.version $VERSION -X main.branch=$BRANCH -X main.commit=$COMMIT" +-ldflags="-X main.version=$VERSION -X main.branch=$BRANCH -X main.commit=$COMMIT" ``` where `$VERSION` is the version, `$BRANCH` is the branch, and `$COMMIT` is the git commit hash.