-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use zip_release #17
base: main
Are you sure you want to change the base?
Conversation
I noticed the 0.3.0b2 release has a faulty zip asset. There doesn't seem to be a point in using this format anyway. Is there anything I missed? Do you add anything in there that's not in the repo?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sorry to hear that the b2 release was faulty. I started to use the I simply didn't know that leaving it out is the better way to do it. Let me check how the release is working then :) |
So I took a look at the The Is there any bigger advantage not using Currently I would go with adjusting the |
I confirmed with Ludeeus (dev of HACS) what the advantage/benefit is for using zipped releases. His answer was "Nothing really". If not using it, it's as simple as creating a release/tagging a version. For things as minimum required version HACS uses the hacs.json from the tag that is being downloaded anyway. Edit: he just said there is still a difference when using the 'legacy' version (without having 'experimental' enabled, experimental is actually safer, more stable and will be the default at some point). When using non-experimental it also uses an old data format/source and downloads the custom_integration files individually instead of just the zip. However, this is not something the end-user will notice. |
I also think #12 is related to this. While probably a bug in HACS itself, it tried to download the zip for the |
Yeah I also think that that happened. But so first of all, thanks for speaking to Ludeeus and clarifying this! Just for my understanding, when changing this, I would just do a release, without attaching an additional If the experimental version is safer, we can also already use that one. |
Yes, release makes a tag, custom_components gets pulled for that tag. Another idea Ludeeus had was because there was no official release yet (a pre-release doesn't count) at the time users added your custom repo. In that case it would also fail to find the latest release and pull it. The HACS experimental features is up to the user, nothing a publisher can do about it. |
Okay so from my point of view, we can try that out. |
I noticed the 0.3.0b2 release has a faulty zip asset.
There doesn't seem to be a point in using this format anyway.
Is there anything I missed? Do you add anything in there that's not in the repo?