Skip to content

Commit

Permalink
fix: add arch override for git-cliff arm64 release
Browse files Browse the repository at this point in the history
  • Loading branch information
h3adache committed May 6, 2024
1 parent 6ce54bd commit f7563ce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ list_all_versions() {
}

get_arch() {
uname -m
local arch
arch=${ARCH:-"$(uname -m)"}

case ${arch} in
arm64) arch="aarch64" ;;
esac

echo "$arch"
}

get_os() {
Expand Down

0 comments on commit f7563ce

Please sign in to comment.