Open dhet opened 4 years ago
I like the idea to add some automation! (Btw parsing the readme.md was a good idea, too. However, the urls caused problems during appstream validation, therefore I decided to better copy the description manually.)
Three points:
http://dl.bintray.com/cryptomator/cryptomator/{{release_version}}/cryptomator-{{release_version}}-x86_64.AppImage
(faster CDN than GitHub)<releases>
only contain one <release>
?cryptomator/cryptomator
repo to make a PR on cryptomator/cryptomator-linux
to append a new release whenever one is taggedThe GitHub Action sounds good! I will look into it.
The change modifies the build script so that the appdata.xml is rendered dynamically instead of being hard-coded. The build script now calls the tag into the appdata.xml.
The script distinguishes between three types of builds:
render-appdata-template.sh
script which takes a template file and replaces all placeholders, e.g.{{release_version}}
, with actual values. This makes it possible to include a \1.4.15
:stable
1.5.0-alpha2
development
SNAPSHOT
Examples
Stable
Output
Development
Output
Snapshot
releases tag is not rendered