Skip to content

Commit 0b6b1c5

Browse files
committed
hotbuild 1.0.9
1 parent 95ad4ca commit 0b6b1c5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Formula/h/hotbuild.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
class Hotbuild < Formula
22
desc "Cross platform hot compilation tool for go"
33
homepage "https://hotbuild.rustpub.com/"
4-
url "https://github.com/wandercn/hotbuild/archive/refs/tags/v1.0.8.tar.gz"
5-
sha256 "662fdc31ca85f5d00ba509edcb177b617d8d6d8894086197347cfdbd17dc7c2f"
4+
url "https://github.com/wandercn/hotbuild/archive/refs/tags/v1.0.9.tar.gz"
5+
sha256 "7e8c5c52269344d12d4dc83ae4f472f8aec05faad76379c844dc21c2da44704c"
66
license "MulanPSL-2.0"
77
head "https://github.com/wandercn/hotbuild.git", branch: "master"
88

9-
no_autobump! because: :requires_manual_review
10-
119
bottle do
1210
sha256 cellar: :any_skip_relocation, arm64_tahoe: "4ccb806636f0fdd5804757bd8333fce15485f16e5e30c05150a913a71429d065"
1311
sha256 cellar: :any_skip_relocation, arm64_sequoia: "fbc85999d55d54744d2d91cb460717d72fc448bd5845222218bf3fcf510fd3ac"
@@ -26,10 +24,14 @@ class Hotbuild < Formula
2624

2725
depends_on "go" => :build
2826

27+
# Bump version
28+
# https://github.com/wandercn/hotbuild/pull/15
29+
patch do
30+
url "https://github.com/wandercn/hotbuild/commit/1b04ea4e9e1327ef4d462256072d72f4f37040cb.patch?full_index=1"
31+
sha256 "b0bbcdf106914307265b4ac81d73667a8b2d4c2fd688cc76dd1e303f690b4021"
32+
end
33+
2934
def install
30-
# fixed in https://github.com/wandercn/hotbuild/commit/16d2d337fc20b245a96a4bd2cfe7c0ec8657470d
31-
# remove in next release
32-
inreplace "version/version.go", "v1.0.7", version.to_s
3335
system "go", "build", *std_go_args(ldflags: "-s -w")
3436
end
3537

0 commit comments

Comments
 (0)