Skip to content
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

Latest release (0.6.5.0) is not available in Plugins dropdown #235

Open
gonX opened this issue Dec 30, 2024 · 0 comments
Open

Latest release (0.6.5.0) is not available in Plugins dropdown #235

gonX opened this issue Dec 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gonX
Copy link
Member

gonX commented Dec 30, 2024

Currently, the the latest version is determined by supported plugin versions:

{%- for version in site.data.plugin-repository.Repository -%}
{%- for owner in version[1] -%}
{%- for repo in owner[1] -%}
{%- for item in repo[1] -%}
{% assign plugins = plugins | push: item[1] %}
{% assign otdversions = otdversions | push: item[1].SupportedDriverVersion %}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
{% assign otdversions = otdversions | sort | uniq | reverse %}

The JavaScript filter seems to act nicely if its fed 0.6.5.0 as a value, so it seems viable to just grab the versions defined in site/_data/otd-versions.json - though side effects (like overfilling versions) should be avoided, so just adding the latest release only will likely best fix this issue.

@gonX gonX added the bug Something isn't working label Dec 30, 2024
@gonX gonX changed the title Latest release 0.6.5.0 is not available in Plugins dropdown Latest release (0.6.5.0) is not available in Plugins dropdown Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant