mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[CI] Format code with Black
This commit is contained in:
parent
609819ade8
commit
30679c0c57
1 changed files with 2 additions and 2 deletions
|
@ -350,13 +350,13 @@ class SourcesResource(AppResource):
|
|||
|
||||
It is also possible to define `autoupdate.upstream` to use a different Git repository instead of the code repository from the upstream section of the manifest. This can be useful when, for example, the app uses other assets such as plugin from a different repository.
|
||||
|
||||
If the upstream project provides non-standard tag or release names, you can fix this, with a regex with a matching group.
|
||||
If the upstream project provides non-standard tag or release names, you can fix this, with a regex with a matching group.
|
||||
For example, if tags look like `release-v4.1`, put:
|
||||
|
||||
```toml
|
||||
autoupdate.version_regex = "^release-v(.*)$"
|
||||
```
|
||||
|
||||
|
||||
And the autoupdater will use the matched group (here: `4.1`) as the version.
|
||||
|
||||
##### Provision/Update
|
||||
|
|
Loading…
Add table
Reference in a new issue