ci: add release workflow
Can you explain what exactly this workflow does?
It creates a release with tree-sitter-vimdoc.wasm and tree-sitter-vimdoc.tar.xz (source code plus generated files).
why not tar.gz like normal archives?
To reduce confusion regarding which archive is correct.
That just makes it harder to use; I don't think I want this in nvim-treesitter.
How is it harder to use? Any platform that supports tar.gz also supports tar.xz.
Because now I have to maintain two different "extract archive" functions (again, for little good reason).
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.
Superseded by #147.