Skip to content

Commit 9b28b1e

Browse files
author
emmanuel.john
committed
granted: fix missing assume binary
Granted requires both 'granted' and 'assume' binaries to function. The assume script exports AWS credentials to the parent shell. Closes #249904
1 parent 700340d commit 9b28b1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Formula/g/granted.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ class Granted < Formula
2020
def install
2121
ldflags = "-s -w -X github.com/common-fate/granted/internal/build.Version=#{version}"
2222
system "go", "build", *std_go_args(ldflags:), "./cmd/granted"
23+
bin.install_symlink "granted" => "assumego"
24+
bin.install "scripts/assume"
25+
bin.install "scripts/assume.fish"
2326
end
2427

2528
test do

0 commit comments

Comments
 (0)