Closed johnblommers closed 2 years ago
You should not download repository as as zip, but clone it and zip result, so folders like license
and files like config.json
will be at root of archive
Because while downloading it as zip - there will be plugin-typograf-master
folder at root as archive - this is incorrect structure
Also just lost time to understand that if inside archive is folder - there would be no magic.
I think you should do smth with this situation and I see 2 ways: 1) create checking for folder inside an archive in code of desktop editors or 2) use GitHub Actions to autocreate release (triggered by every push, for example) with ready-to-use downloadable archive.
@amokmen Yeah, we working on it, fail more gracefully if plugin cannot be installed. There is issue 48925 in our private issue tracker
Correct error showing always good option, but this is not solving this issue :)
If use GitHub Actions and Ubuntu 18.04.5 virtual machine, there would be already preinstalled "7-Zip" and "zip" tools. So, simple creating an archive would be easy task.
Could you write YAML config file or I should help?
@amokmen Sorry, I'm just a QA specifalits. It's up to @trofim24 and @agolybev to decide - will we start using Github Actions to releasing plugins
You can still download the repository as a zip!
typograf-v#.#.#.plugin
The following does not work. There are no warnings and the plugin does not become available.
plugin-typograf-master.plugin
\Please document how this particular plugin should be installed from this archive.