What I’m trying to do
I am trying to run a new plugin called Plan_and_Block (GitHub - endlessblink/Plan_and_Block) on BRAT to test it out.
But I keep getting these error messages:
Your latest Release is missing the main.js
file.
Your latest Release is missing the manifest.json
file.
The release seems to have both files main.js and manifest.json so I am not sure what is wrong.
Things I have tried
I’ve published several releases and double checked the contents, but it still pops the same error message.
This is my first attempt ever at something like this, so maybe I am missing something obvious.
1 Like
By reading code of BRAT, I think it works this way:
- download
manifest.json
from you main branch (from code, not release)
- get the
version
fileld from manifest.json
, like 0.1.5
(not v0.1.5
)
- use this version info, to download files of a matched release (download from
https://github.com/${repository}/releases/download/${version}/${fileName}
)
So after checking your repository, I think maybe you should change release tag from v1.0.3
to just 0.1.3
Reference
download logic of BRAT
Thanks for the tips! Tried it but that didn’t help unfortunately.
Any other suggestions?
You didn’t upload main.js
and manifest.json
in release: