Skip to content

Commit

Permalink
adding semicolon, so version is evaluated correctly in the same line
Browse files Browse the repository at this point in the history
  • Loading branch information
nicob87 authored and grs committed Jul 22, 2020
1 parent f1c8e8b commit e310003
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 @@ -98,7 +98,7 @@ commands:
- run:
name: Building << parameters.platform >>
command: >-
VERSION="${CIRCLE_TAG:-ci-${CIRCLE_BUILD_NUM}}"
VERSION="${CIRCLE_TAG:-ci-${CIRCLE_BUILD_NUM}}";
GOOS=<< parameters.goos >>
GOARCH=<< parameters.goarch >>
go build -ldflags "-X main.version=${VERSION}"
Expand Down

0 comments on commit e310003

Please sign in to comment.