neovim / tree-sitter-vimdoc

Tree-sitter parser for Vim help files
Apache License 2.0
106 stars 13 forks source link

ci: add release workflow #138

Open ObserverOfTime opened 4 weeks ago

clason commented 4 weeks ago

Can you explain what exactly this workflow does?

ObserverOfTime commented 4 weeks ago

It creates a release with tree-sitter-vimdoc.wasm and tree-sitter-vimdoc.tar.xz (source code plus generated files).

clason commented 4 weeks ago

why not tar.gz like normal archives?

ObserverOfTime commented 4 weeks ago

To reduce confusion regarding which archive is correct.

clason commented 4 weeks ago

That just makes it harder to use; I don't think I want this in nvim-treesitter.

ObserverOfTime commented 4 weeks ago

How is it harder to use? Any platform that supports tar.gz also supports tar.xz.

clason commented 4 weeks ago

Because now I have to maintain two different "extract archive" functions (again, for little good reason).

ObserverOfTime commented 4 weeks ago

You will have to add a flag that controls which archive to download anyway. That flag can then switch between tar.xz/xvJf and tar.gz/xvzf.