Skip to content

Commit 6defed4

Browse files
committed
Add external data checker
1 parent 7de8a98 commit 6defed4

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

com.github._4lex4.ScanTailor-Advanced.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ modules:
3333
- name: scantailor-advanced
3434
sources:
3535
- type: archive
36-
url: https://github.com/4lex4/scantailor-advanced/archive/2019.8.16_EA.tar.gz
36+
url: https://github.com/4lex4/scantailor-advanced/archive/refs/tags/2019.8.16_EA.tar.gz
3737
sha256: 7ee3aaffa9a234a3171d3d0d75bc34a6acc7e78f85f5a70d6cf7ae481c8d1a48
38+
x-checker-data:
39+
type: json
40+
url: https://api.github.com/repos/4lex4/scantailor-advanced/releases
41+
version-query: '[.[] | select(.draft == false and .prerelease == true)][0].tag_name'
42+
url-query: '"https://github.com/4lex4/scantailor-advanced/archive/refs/tags/" + $version + ".tar.gz"'
3843
- type: file
3944
path: com.github._4lex4.ScanTailor-Advanced.metainfo.xml
4045
- type: patch

0 commit comments

Comments
 (0)