Skip to content

Commit

Permalink
Merge pull request #47 from kionsoftware/correct-version-path
Browse files Browse the repository at this point in the history
Correct path to version file during build
  • Loading branch information
codybuell authored Jun 24, 2024
2 parents 1f4b043 + 294e22e commit 0f347e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/homebrew-formula-template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def install
if build.head?
version = "nightly-" + `git rev-parse --short HEAD`.chomp
else
version = File.read("#{buildpath}/VERSION.md").chomp
version = File.read("#{buildpath}/src/github.com/kionsoftware/kion-cli/VERSION.md").chomp
end
system "go", "build", "-ldflags", "-X main.kionCliVersion=#{version}", "-o", "#{bin}/kion", "."
end
Expand Down

0 comments on commit 0f347e5

Please sign in to comment.