Skip to content

Commit

Permalink
use tag alone for the version; commit hash is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
maplebed committed May 18, 2019
1 parent 381b241 commit ee9260d
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 @@ -16,7 +16,7 @@ jobs:
executor: linuxgo
steps:
- checkout
- run: go install -ldflags "-X main.Version=${CIRCLE_TAG}+${CIRCLE_SHA1}" ./...
- run: go install -ldflags "-X main.Version=${CIRCLE_TAG}" ./...
- run: mkdir -v artifacts; cp -v $GOPATH/bin/buildevents artifacts/
- persist_to_workspace:
root: artifacts
Expand Down

0 comments on commit ee9260d

Please sign in to comment.