Skip to content

get latest version from GitHub release#586

Merged
coffee-cup merged 2 commits intomasterfrom
jr/pro-3206-check-for-latest-cli-version-in-installsh-script-from-github
Jan 8, 2025
Merged

get latest version from GitHub release#586
coffee-cup merged 2 commits intomasterfrom
jr/pro-3206-check-for-latest-cli-version-in-installsh-script-from-github

Conversation

@coffee-cup
Copy link
Copy Markdown
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.

@linear
Copy link
Copy Markdown

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
@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