Skip to content

Commit

Permalink
Use backtics for Version replacement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimafisk committed Aug 24, 2020
1 parent 0c138f0 commit d2d80dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ before:
builds:
- id: linux-build
ldflags:
- -X plenti/cmd.Version=$(git describe --tags)
- -X 'plenti/cmd.Version=`git describe --tags`'
env:
- CGO_ENABLED=1
goos:
Expand All @@ -18,7 +18,7 @@ builds:
- id: darwin-build
ldflags:
- -s
- -X plenti/cmd.Version=$(git describe --tags)
- -X 'plenti/cmd.Version=`git describe --tags`'
env:
- CGO_ENABLED=1
- CC=/home/runner/work/osxcross/target/bin/o64-clang
Expand Down

0 comments on commit d2d80dd

Please sign in to comment.