Skip to content
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

Added support for version pinning in install.sh #766

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jun 26, 2020

Usage:

to install the latest version:

./install.sh

to install a specific version:

./install.sh 0.9.0

@cmaglie cmaglie self-assigned this Jun 26, 2020
@cmaglie cmaglie added this to the 0.12.0 milestone Jun 26, 2020
@cmaglie cmaglie requested a review from rsora June 26, 2020 14:36
@rsora
Copy link
Contributor

rsora commented Jun 26, 2020

Tested like this to install the 0.9.0version and it works

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/043134cba7c09c1af4b587ef4a3dfffca338a217/install.sh | BINDIR=~/.local/bin sh -s 0.9.0

I'll open a separate PR to update the documentation.
cc @janjongboom

@cmaglie cmaglie merged commit 1f42d58 into arduino:master Jun 26, 2020
@cmaglie cmaglie deleted the pin_version_install.sh branch June 26, 2020 15:08
@janjongboom
Copy link

@rsora Thanks, we've updated our CI scripts!

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

Successfully merging this pull request may close these issues.

3 participants