Skip to content

Commit d90370d

Browse files
committed
bitrise: add head
1 parent 5b7e8d4 commit d90370d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Formula/b/bitrise.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Bitrise < Formula
44
url "https://github.com/bitrise-io/bitrise/archive/refs/tags/2.27.0.tar.gz"
55
sha256 "2dd64874e60208602b5b78c4bd521926dc476766965cb46d5dc0fbd00ecd0ce9"
66
license "MIT"
7+
head "https://github.com/bitrise-io/bitrise.git", branch: "master"
78

89
livecheck do
910
url :stable
@@ -27,9 +28,10 @@ def install
2728
ldflags = %W[
2829
-s -w
2930
-X github.com/bitrise-io/bitrise/version.VERSION=#{version}
31+
-X github.com/bitrise-io/bitrise/version.Commit=#{tap.user}
3032
]
3133

32-
system "go", "build", *std_go_args(ldflags: ldflags.join(" "))
34+
system "go", "build", *std_go_args(ldflags: ldflags)
3335
end
3436

3537
test do

0 commit comments

Comments
 (0)