gitlab-ci-multi-runner: Fix symlink
Closes Homebrew/homebrew#47096. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
6198a52672
commit
3e99c9e7fa
1 changed files with 2 additions and 0 deletions
|
@ -31,10 +31,12 @@ class GitlabCiMultiRunner < Formula
|
|||
# Copy from Makefile
|
||||
system "go", "build", "-o", "gitlab-ci-multi-runner", "-ldflags", "-X main.NAME=gitlab-ci-multi-runner -X main.VERSION=#{version} -X main.REVISION=#{commit_sha}"
|
||||
bin.install "gitlab-ci-multi-runner"
|
||||
bin.install_symlink "#{bin}/gitlab-ci-multi-runner" => "gitlab-runner"
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match /gitlab-ci-multi-runner version #{version}/, shell_output("gitlab-ci-multi-runner --version")
|
||||
assert_match /gitlab-runner version #{version}/, shell_output("gitlab-runner --version")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue