Skip to content

Commit dffd620

Browse files
committed
chore: do not require gobin to be in path
`go run` now works very well and avoids the path dependency.
1 parent af51045 commit dffd620

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

hack/add-members.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ set -euo pipefail
1818

1919
SCRIPT_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
2020

21-
go install "$SCRIPT_ROOT"/cmd/korg
22-
2321
DRY_RUN=${DRY_RUN:-false}
2422

2523
if [[ -z ${WHO:-} ]]; then
@@ -36,8 +34,8 @@ do
3634
echo "Adding $username to $REPOS"
3735
if [ "$DRY_RUN" = true ]; then
3836
echo "Running in dry run mode."
39-
korg add "$username" --org "$REPOS"
37+
go run ./cmd/korg add "$username" --org "$REPOS"
4038
else
41-
korg add "$username" --org "$REPOS" --confirm
39+
go run ./cmd/korg add "$username" --org "$REPOS" --confirm
4240
fi
4341
done

0 commit comments

Comments
 (0)