Apps can now provide a "version_regex" that aims to extract the version from tag an release names.

For example, version_regex = "^release_(.*)$" will extract "1.0" from "release_1.0".
This commit is contained in:
Félix Piédallu
2024-02-16 23:59:54 +01:00
parent 4107216ab3
commit 265a94745e
2 changed files with 31 additions and 8 deletions

View File

@ -425,6 +425,10 @@
"latest_forgejo_commit"
]
},
"version_regex": {
"type": "string",
"format": "regex"
},
"upstream": {
"type": "string"
},