We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c6300c commit 7df6e7fCopy full SHA for 7df6e7f
1 file changed
hack/homebrew/gitops.rb
@@ -10,7 +10,7 @@ def install
10
# ENV["GOPATH"] = buildpath
11
path = buildpath/"cmd/gitops"
12
cd path do
13
- system "go", "build", "-o", "#{bin}/gitops"
+ system "go", "build", "-ldflags=\"-s -w -X 'main.version=${RELEASE_VERSION}'\"" "-o", "#{bin}/gitops"
14
end
15
16
0 commit comments