Disambiguate release version in appstream metadata
Blackmagic released Resolve 18.5.0 (beta 1) and (beta 2), and Appstream expects <release version=""> to be unique. Disambiguate using the numericDate.
This commit is contained in:
1 parent
e8be407966
commit
2a3f3642f6
1 file changed
+1
-1
+1
-1
@@ -94,7 +94,7 @@ curl -o- https://www.blackmagicdesign.com/api/support/nz/downloads.json |
|
|||||||
.downloads[] |
|
.downloads[] |
|
||||||
select(.urls["Linux"] != null) |
|
select(.urls["Linux"] != null) |
|
||||||
select(.urls["Linux"][0]["product"] == $APP_TAG) |
|
select(.urls["Linux"][0]["product"] == $APP_TAG) |
|
||||||
" <release version=\"" + (.urls["Linux"][0].major|tostring) + "." + (.urls["Linux"][0].minor|tostring) + "." + (.urls["Linux"][0].releaseNum|tostring) + "\" date=\"" + (.numericDate / 1000|strftime("%Y-%m-%d")) + "\">",
|
" <release version=\"" + (.urls["Linux"][0].major|tostring) + "." + (.urls["Linux"][0].minor|tostring) + "." + (.urls["Linux"][0].releaseNum|tostring) + "~" + (.numericDate|tostring) + "\" date=\"" + (.numericDate / 1000|strftime("%Y-%m-%d")) + "\">",
|
||||||
" <description>",
|
" <description>",
|
||||||
.desc,
|
.desc,
|
||||||
" </description>",
|
" </description>",
|
||||||
|
|||||||
Reference in new issue
Block a user