Discussed with @septias and @adbenitez -- with #181 merged, we can now get rid of the "version" field altogether which is a bit of an artificial store-only thing anyway. Instead we use tag_name which is provided by xdcget's "export" of sources.lock and comes from the tagged release from which xdcget got the ".xdc" asset file.
If there is a different "tag_name" than the one we now for an app-id, it is an update.
See https://codeberg.org/webxdc/xdcget/pulls/40 for the xdcget-side of this issue.
Discussed with @septias and @adbenitez -- with #181 merged, we can now get rid of the "version" field altogether which is a bit of an artificial store-only thing anyway. Instead we use
tag_name
which is provided by xdcget's "export" of sources.lock and comes from the tagged release from which xdcget got the ".xdc" asset file. If there is a different "tag_name" than the one we now for an app-id, it is an update.See https://codeberg.org/webxdc/xdcget/pulls/40 for the xdcget-side of this issue.