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

Support RC versions #45

Open
alexgleason opened this issue Oct 2, 2024 · 1 comment · May be fixed by #46
Open

Support RC versions #45

alexgleason opened this issue Oct 2, 2024 · 1 comment · May be fixed by #46

Comments

@alexgleason
Copy link

Deno 2.0 has a release candidate: https://deno.com/blog/v2.0-release-candidate

I would like to use it with asdf today, but it doesn't seem possible to specify an rc version.

At first I though, meh, it's right around the corner, I should just wait. But it's been 2 weeks and they are taking their sweet time to get it right. It would be good to support rc versions anyway for the future.

@thgaskell
Copy link

I don't think they publish the release candidate binaries to GitHub, which may make it difficult.

However, they added support for deno upgrade rc in 1.46.0 denoland/deno#25096.

So if you do want to test v2 now while still using asdf, you can install the latest version of deno:

asdf install deno latest

Set your shell to use the latest version (1.46.3 at the time of this comment):

asdf global deno 1.46.3

And then finally switch over to the release candidate channel:

deno upgrade rc
deno --version
# deno 2.0.0-rc.10 (release candidate, release, aarch64-apple-darwin)
# v8 12.9.202.13-rusty
# typescript 5.6.2

This essentially maps version 1.46.3 to 2.0.0-rc.10 in asdf.

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

Successfully merging a pull request may close this issue.

2 participants