Skip to content

Commit

Permalink
include version metadata in CI builds too
Browse files Browse the repository at this point in the history
  • Loading branch information
slai committed Jan 3, 2019
1 parent cd094f9 commit 622940f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Run unit tests
command: gotestsum --junitfile ${TEST_RESULTS}/go-test-report.xml

- run: go build
- run: go build -ldflags "-X main.date=`date -u +%Y-%m-%dT%H:%M:%SZ` -X main.commit=${CIRCLE_SHA1}"

- run:
name: Create build artifact
Expand Down

0 comments on commit 622940f

Please sign in to comment.