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

get latest version from GitHub release #586

Conversation

coffee-cup
Copy link
Contributor

We currently get the latest version of the CLI for the install.sh script from looking at the Cargo.toml file in the repo. This is a problem since there is a brief period of time when the Cargo.toml file is updated to the newest version, but we haven't published a new release on GitHub yet. If you try to install during this time, it will fail. This PR instead gets the latest version from the GitHub releases which should always work.

Copy link

linear bot commented Jan 8, 2025

@coffee-cup coffee-cup added the release/skip Author no release label Jan 8, 2025
@coffee-cup coffee-cup merged commit 0382d0f into master Jan 8, 2025
6 of 7 checks passed
@coffee-cup coffee-cup deleted the jr/pro-3206-check-for-latest-cli-version-in-installsh-script-from-github branch January 8, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/skip Author no release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant