openhab / website

This repository contains the final artifacts from which the project website is served.
https://www.openhab.org/
20 stars 47 forks source link

The download page shows a snapshot download link when choosing Milestone #425

Closed ghys closed 7 months ago

ghys commented 8 months ago

On https://www.openhab.org/download/ under Manual Installation you're offered a download link for the snapshot even though you've chosen "Milestone".

This can be traced to: https://github.com/openhab/website/commit/c0521caffd4a71002770e69ecfdc54a1d582932f

Also commits like these: https://github.com/openhab/website/commit/400ff3df85f1a7ac7e7400ffe9344be47026d5c8 shouldn't be necessary, I don't remember why the snapshot download links were hardcoded, but it's obvious it shouldn't be changed every time anymore when injecting {{$page.frontmatter.currentSnapshotVersion}} into the download URL should work.