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

Switch to docs page to determine latest stable version #175

Merged
merged 1 commit into from Jan 19, 2024

Conversation

rafiss
Copy link
Contributor

@rafiss rafiss commented Jan 19, 2024

fixes #174

The code was previously looking at the /api/updates endpoint on the register.cockroachdb.com server. However, that endpoint returns Cloud Only releases, which cannot be downloaded from binaries.cockroachdb.com.

Now we use the releases list maintained by the docs team, which lets us filter out undesired releases.

@rafiss rafiss requested review from dt, rail and celiala January 19, 2024 05:24
@cockroach-teamcity
Copy link
Member

This change is Reviewable

The code was previously looking at the /api/updates endpoint on the
register.cockroachdb.com server. However, that endpoint returns
Cloud Only releases, which cannot be downloaded from
binaries.cockroachdb.com.

Now we use the releases list maintained by the docs team, which lets us
filter out undesired releases.
@rafiss rafiss merged commit ae1f8a3 into cockroachdb:master Jan 19, 2024
3 checks passed
@rafiss rafiss deleted the fix-release-url branch January 19, 2024 07:23
@elv-todd
Copy link

thanks! to point to it do we use

go get github.com/cockroachdb/cockroach-go/v2@master

or are we waiting on a release?

@rafiss
Copy link
Contributor Author

rafiss commented Jan 19, 2024

v2.3.6 of this library has this fix

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.

package version logic points to unavailable cockroachdb version
4 participants