Skip to content

Make release binary name fixed. #2893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
dojyorin opened this issue Apr 19, 2025 · 1 comment
Open
3 tasks done

Make release binary name fixed. #2893

dojyorin opened this issue Apr 19, 2025 · 1 comment
Labels
type: enhancement Proposed improvement

Comments

@dojyorin
Copy link

dojyorin commented Apr 19, 2025

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
@dojyorin dojyorin added the type: enhancement Proposed improvement label Apr 19, 2025
@kittaakos
Copy link
Contributor

kittaakos commented Apr 26, 2025

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:

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.

Hi, just chiming in 👋 Great idea! I know your pain. It does not solve your problem, but I always get the Arduino resources (CLI, language server, etc. ) from the official Arduino download servers. They're just superior to GH release assets.

I would not change the release artifacts name, though, but rather ask the Arduino people to redirect the no version or the latest version to the actual latest version on their official download servers; there was something like this in the past with the nightly Arduino IDE; it redirected to the actual latest nightly. (https://github.com/arduino/arduino-ide/blob/45f06718b4b1ca1d5917b1b68f45244072f11734/README.md?plain=1#L45-L48)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants