Skip to content

Commit

Permalink
Merge pull request #1760 from OniriCorpe/document-changelog-link-late…
Browse files Browse the repository at this point in the history
…st_github_release

[docs] document changelog link for latest_github_release
  • Loading branch information
Psycojoker authored Jan 4, 2024
2 parents aab80f9 + b424ae0 commit 6fdcf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class SourcesResource(AppResource):
`autoupdate.strategy` is expected to be one of :
- `latest_github_tag` : look for the latest tag (by sorting tags and finding the "largest" version). Then using the corresponding tar.gz url. Tags containing `rc`, `beta`, `alpha`, `start` are ignored, and actually any tag which doesn't look like `x.y.z` or `vx.y.z`
- `latest_github_release` : similar to `latest_github_tags`, but starting from the list of releases. Pre- or draft releases are ignored. Releases may have assets attached to them, in which case you can define:
- `latest_github_release` : similar to `latest_github_tags`, but starting from the list of releases and provides the changelog link in PR message. Pre- or draft releases are ignored. Releases may have assets attached to them, in which case you can define:
- `autoupdate.asset = "some regex"` (when there's only one asset to use). The regex is used to find the appropriate asset among the list of all assets
- or several `autoupdate.asset.$arch = "some_regex"` (when the asset is arch-specific). The regex is used to find the appropriate asset for the specific arch among the list of assets
- `latest_github_commit` : will use the latest commit on github, and the corresponding tarball. If this is used for the 'main' source, it will also assume that the version is YYYY.MM.DD corresponding to the date of the commit.
Expand Down

0 comments on commit 6fdcf03

Please sign in to comment.