Skip to content

Make release binary name fixed. #2893

Open
@dojyorin

Description

@dojyorin

Describe the request

I think it would be better to remove version number from release binary name and make it a fixed name.

The advantage of this is that if you want to get latest release for example, you can get it with a single link like this:

curl https://github.com/arduino/arduino-cli/releases/latest/download/arduino-cli_Linux_64bit.tar.gz

Currently, because version number is included, two steps are required: first obtaining download url of latest release using GitHub API etc, and then accessing binary.

curl $(curl https://api.github.com/repos/arduino/arduino-cli/releases/latest | yq '.assets[] | select(.name == "*Linux_64bit.zip").browser_download_url')
arduino-cli_1.2.0_Linux_64bit.tar.gz
            ^^^^^

arduino-cli_Linux_64bit.tar.gz
           ^

Describe the current behavior

Release binaries contain version number.

Arduino CLI version

1.2.0

Operating system

N/A

Operating system version

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions