You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The max_version in the updates field is showing correct data. But the code is referencing the version field of the first item of the updates, which is why the max version is not correctly captured. The fix could be sort the manifest and get the latest version from the manifest version, or we can simply use the max_version field.
The text was updated successfully, but these errors were encountered:
Platform I'm building on:
x86_64
What I expected to happen:
updata
to report correct max version available in the tuf repo. (In my case it is supposed to be1.32.0
)What actually happened:
updata
reported wrong value. (In my case it showed1.18.0
)How to reproduce the problem:
tuftool
updata -- remove-update
Sample manifest.json
The
max_version
in the updates field is showing correct data. But the code is referencing theversion
field of the first item of the updates, which is why the max version is not correctly captured. The fix could be sort the manifest and get the latest version from the manifest version, or we can simply use themax_version
field.The text was updated successfully, but these errors were encountered: