tree-sitter-vimdoc icon indicating copy to clipboard operation
tree-sitter-vimdoc copied to clipboard

ci: add release workflow

Open ObserverOfTime opened this issue 1 year ago • 8 comments

ObserverOfTime avatar Oct 20 '24 17:10 ObserverOfTime

Can you explain what exactly this workflow does?

clason avatar Oct 20 '24 17:10 clason

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

ObserverOfTime avatar Oct 20 '24 17:10 ObserverOfTime

why not tar.gz like normal archives?

clason avatar Oct 20 '24 17:10 clason

To reduce confusion regarding which archive is correct.

ObserverOfTime avatar Oct 20 '24 17:10 ObserverOfTime

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

clason avatar Oct 20 '24 17:10 clason

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

ObserverOfTime avatar Oct 20 '24 17:10 ObserverOfTime

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

clason avatar Oct 20 '24 17:10 clason

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.

ObserverOfTime avatar Oct 20 '24 17:10 ObserverOfTime

Superseded by #147.

clason avatar May 03 '25 10:05 clason