-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix: macos nightly build filename since #28000 #31
Conversation
Thank you. I'll take a look at this tonight. |
@@ -46,6 +56,18 @@ export function assetDirName(version: string, os: Os): string { | |||
if (v !== null && (v.minor < 7 || (v.minor === 7 && v.patch < 1))) { | |||
return 'nvim-osx64'; | |||
} | |||
// Until v0.9.5 release, 'nvim-macos' was the asset directory name on macOS. However it was changed to 'nvim-macos-arm64' | |||
// and 'nvim-macos-x86_64' from v0.10.0: https://github.com/neovim/neovim/pull/28000 | |||
if (version === 'nightly') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After Neovim released the 0.10.0, this version
will also need to detect < 0.10.0
, similar to the detection for 0.7.1
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the next version of Neovim fixed to 0.10.0? Or can it be 0.9.6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I had seen something, that Neovim team says 0.10.0 will release in April 2024.
But, I am not sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neovim team usually create a milestone for a version: https://github.com/neovim/neovim/milestones. (this is highly possible true because I had followed this issue list for over 2 years).
There's no 0.9.6 in these milestones, so I believe there will be no 0.9.6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thank you for the information. I'll add the version check when the next version is fixed.
Shipped v1.3.2: https://github.com/rhysd/action-setup-vim/releases/tag/v1.3.2 |
Fix #30 .
This PR fixes the nightly nvim asset filename for macOS, since neovim/neovim#28000, Neovim nightly build on macOS is renamed from 'nvim-macos.tar.gz' to 'nvim-macos-arm64.tar.gz' and 'nvim-macos-x86_64.tar.gz'.
But seems I cannot test this PR with my forked repo: https://github.com/linrongbin16/action-setup-vim/tree/fix-macos-nightly, I'm blocked for now, will try to test it.
Update: this PR is tested here: linrongbin16#1