The latest commit was 746f746 when this bug been identified. And this is a regression bug.
To reproduce the bug, you may check the output script of https://i.jpillora.com/ouch-org/ouch?type=script:
#choose from asset list
URL=""
FTYPE=""
case "${OS}_${ARCH}" in
"darwin_amd64")
URL="https://github.com/ouch-org/ouch/releases/download/0.5.1/ouch-x86_64-apple-darwin.tar.gz"
FTYPE=".tar.gz"
;;
"linux_amd64")
URL="https://github.com/ouch-org/ouch/releases/download/0.5.1/ouch-armv7-unknown-linux-musleabihf.tar.gz"
FTYPE=".tar.gz"
;;
"linux_arm64")
URL="https://github.com/ouch-org/ouch/releases/download/0.5.1/ouch-aarch64-unknown-linux-musl.tar.gz"
FTYPE=".tar.gz"
;;
*) fail "No asset for platform ${OS}-${ARCH}";;
esac
The commit 306c21e looks very suspicious to me.
The latest commit was 746f746 when this bug been identified. And this is a regression bug.
To reproduce the bug, you may check the output script of https://i.jpillora.com/ouch-org/ouch?type=script:
The commit 306c21e looks very suspicious to me.