dvd-dev / hilo

Home Assistant Hilo Integration via HACS
MIT License
122 stars 26 forks source link

Provide a "package" for releases #406

Closed dwlfrth closed 3 months ago

dwlfrth commented 3 months ago

Is your feature request related to a problem? Please describe. Having my HomeAssistant setup in the form of IaC (Infrastructure as Code), I'd like a generic link that will always download the latest version of the project package.

Describe the solution you'd like See this release page from another project: https://github.com/Limych/ha-iaquk/releases/tag/1.6.6

ic-dev21 commented 3 months ago

This seems to work here:

https://github.com/dvd-dev/hilo/releases/latest

Would that do what you want?

dwlfrth commented 3 months ago

Ability to download latest .zip package through https://github.com/dvd-dev/hilo/releases/latest/download/hilo.zip along with a zip archive that contains only the component (content of custom_components/hilo/)

:)

ic-dev21 commented 3 months ago

How about now?

dwlfrth commented 3 months ago

Rebuilding in progress ... Hurray, works like a charm !

Archive contains the '__MACOSX' default since you probably did it manually on your computer but other than that, all good ! Will this be automated for future releases ?

That is some A+++++ service ;) (Would recommend !)

ic-dev21 commented 3 months ago

My bad, yes I did do it manually, not too sure how to automate it but I'll get around to it!

dwlfrth commented 3 months ago

Thanks man ! :)

ic-dev21 commented 2 months ago

@dwlfrth fyi automated it but I’ll need @valleedelisle ’s approval to merge it. It should work from the next release on. Let me know if it doesn’t.

dwlfrth commented 2 months ago

All good @ic-dev21 ! I'll report if I face any issues in the next few builds!