Skip to content

Commit 0720553

Browse files
BrewTestBotchenrui333
authored andcommitted
harsh 0.11.6
harsh: update build Signed-off-by: Rui Chen <[email protected]>
1 parent ff2dc24 commit 0720553

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Formula/h/harsh.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Harsh < Formula
22
desc "Habit tracking for geeks"
33
homepage "https://github.com/wakatara/harsh"
4-
url "https://github.com/wakatara/harsh/archive/refs/tags/v0.11.3.tar.gz"
5-
sha256 "863d2511438e1b9e407995a689cb877f69fcea71a93a88b2e1b9924930e84290"
4+
url "https://github.com/wakatara/harsh/archive/refs/tags/0.11.6.tar.gz"
5+
sha256 "f978708b70f0189b662f470ef3e2e932cfec3f3fcf63f7cc0cb41799b4cac3db"
66
license "MIT"
77
head "https://github.com/wakatara/harsh.git", branch: "master"
88

@@ -20,7 +20,7 @@ class Harsh < Formula
2020
depends_on "go" => :build
2121

2222
def install
23-
system "go", "build", *std_go_args(ldflags: "-s -w")
23+
system "go", "build", *std_go_args(ldflags: "-s -w -X github.com/wakatara/harsh/cmd.version=#{version}")
2424
end
2525

2626
test do

0 commit comments

Comments
 (0)