Skip to content

[bug] [regression] installer returned wrong download link for linux-amd64 assets #50

@IceCodeNew

Description

@IceCodeNew

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions