We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2012c47 commit 4de4ad0Copy full SHA for 4de4ad0
Formula/t/tfproviderlint.rb
@@ -23,7 +23,7 @@ def install
23
ldflags = %W[
24
-s -w
25
-X github.com/bflad/tfproviderlint/version.Version=#{version}
26
- -X github.com/bflad/tfproviderlint/version.VersionPrerelease=#{build.head? ? "dev" : ""}
+ -X github.com/bflad/tfproviderlint/version.VersionPrerelease=#{"dev" if build.head?}
27
]
28
29
system "go", "build", *std_go_args(ldflags:), "./cmd/tfproviderlint"
0 commit comments