From 28207e9a805f7fa7b93f409e9d489a6ec0525f55 Mon Sep 17 00:00:00 2001 From: Songmu Date: Fri, 24 May 2019 23:47:31 +0900 Subject: [PATCH] ghq 0.12.4 - use git url to embed a commit hash into executable binary when `make build` Closes #40274. Signed-off-by: Izaak Beekman --- Formula/ghq.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Formula/ghq.rb b/Formula/ghq.rb index 3d9793baf0..c2ce4e8aed 100644 --- a/Formula/ghq.rb +++ b/Formula/ghq.rb @@ -1,8 +1,9 @@ class Ghq < Formula desc "Remote repository management made easy" homepage "https://github.com/motemen/ghq" - url "https://github.com/motemen/ghq/archive/v0.12.3.tar.gz" - sha256 "5bf67452b75d31feb9e4cac3fe414a3ed9c4c0e05bb1f66785feb4980452132b" + url "https://github.com/motemen/ghq.git", + :tag => "v0.12.4", + :revision => "757cb3ad904106157e16e7559d998be1c2eaa561" bottle do cellar :any_skip_relocation @@ -17,6 +18,7 @@ class Ghq < Formula system "make", "build" bin.install "ghq" zsh_completion.install "zsh/_ghq" + prefix.install_metafiles end test do