Skip to content

Incorrect architecture in Linux release assets (v0.8.0) #334

Description

@mitsuki5284

Hi,

I found that the architecture labels in the v0.8.0 Linux release assets seem to be swapped or incorrectly packaged.

Environment:

OS: Manjaro Linux (x86_64)

Version: rig v0.8.0

The Issue:

Downloading rig-linux-0.8.0.tar.gz (expected x86_64) actually contains an ARM aarch64 binary. Running it on an x86_64 machine results in exec format error.

Downloading rig-linux-arm64-0.8.0.tar.gz (expected ARM) actually contains an x86-64 binary.

Proof:

Bash

# For rig-linux-0.8.0.tar.gz
$ file bin/rig
bin/rig: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV) ...

# For rig-linux-arm64-0.8.0.tar.gz
$ file bin/rig
bin/rig: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV) ...

This is quite confusing for users trying to install rig on Linux. Could you please verify and fix the packaging script for the assets?

Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions