-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
feat(ci): publish platform specific binaries #850
Conversation
I think I might also need to update the wiki :) |
Note that the binaries are not enough to have a functional installation; you also need the runtime scripts: #849 (comment) |
And +1 on flattening the hierarchy for the binary; that would make packaging for Homebrew easier! |
@clason Are you talking about this? |
yes |
Ok. I'll give it a shot. |
Also, a standard archive with the full (including submodules) sources for each release would be nice for Homebrew ;) |
Isn't the source zip automatically uploaded in the release? |
I don't think that includes the submodules? At least it doesn't for the tags. (Not at all a dealbreaker, but if that's an easy add to your action, it'd be nice.) |
Just checked. It doesn't even have the
I suppose I could do that :) |
I don't want the |
Got it. I'll probably tackle this tomorrow :p |
I guess the bin directory contains platform suffix, because the release version of VSCode needs to contain all platform binaries. But VSCode already supports platform specific extension. If lua-language-server can support this feature, it will no longer be necessary to include multiple platform binaries in one release. |
Yes, the goal is to release platform specific binary packages so that anyone can play with lua-server as quickly as possible.
I don't know anything about vscode extensions but if it supports platform specific extensions then we are in good position. |
I will try to modify the VSCode release process and remove the |
c95db9f
to
f89c86a
Compare
@sumneko Should I remove the |
There are still some problems with modifying the directory structure, we need to keep it unchanged first. |
@clason I've added the runtime files inside the release assets and also added the tagged version in the assets name. See https://github.com/numToStr/lua-language-server/releases/tag/0.0.0-pre.9 |
@sumneko Understood. I'll let you update the directory structure :) |
7953ce0
to
7b47842
Compare
Now the submodules asset is also ready :) https://github.com/numToStr/lua-language-server/releases/tag/0.0.0-pre.12 |
Which version do you want to revert to? |
To this |
It should be reverted. |
Thanks, @sumneko. I'll quickly rebase my PR. |
@sumneko I think I am finished with this PR. You can check the latest run and release assets |
What is |
This contains all the submodules sources for homebrew. |
I think the |
Done. |
|
@clason asked me for the submodule asset for homebrew distribution. I could remove it if you want. |
I used to think of |
It seems good, thank you! |
I just need the
Homebrew used to be macOS only, but they have joined with the |
To make clear, it would simplify the homebrew formula if the |
Summary of changes:
Some questions I have
bin/{Linux,Windows,macOS}
) bothers me a little as this is also reflected inside the release assets. Also, IMO these are kinda redundant now. So, Are you ok with removing the suffix? So that assets could just have binary w/o any directories.We can probably merge this https://github.com/sumneko/lua-language-server/blob/master/.github/workflows/checkPR.yml workflow inside build workflow. What do you think?Done ;)Closes #849