Skip to content

Commit

Permalink
Merge 9474242 into 69a5147
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW authored Jul 8, 2023
2 parents 69a5147 + 9474242 commit 835a1c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ builds:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/k1LoW/gh-grep.version={{.Version}} -X github.com/k1LoW/gh-grep.commit={{.FullCommit}} -X github.com/k1LoW/gh-grep.date={{.Date}} -X github.com/k1LoW/gh-grep/version.Version={{.Version}}
-
Expand Down
2 changes: 2 additions & 0 deletions gh-grep
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ elif uname -a | grep Darwin > /dev/null; then
elif uname -a | grep Linux > /dev/null; then
if [ "${arch}" = "x86_64" ]; then
exe="gh-grep_${ver}_linux_amd64"
elif [ "${arch}" = "arm64" ] || [ "${arch}" = "aarch64" ]; then
exe="gh-grep_${ver}_linux_arm64"
fi
fi

Expand Down

0 comments on commit 835a1c9

Please sign in to comment.