GithubLatest: Tweak documentation comments
This commit is contained in:
parent
db7a6baa33
commit
1dd7556c74
@ -16,14 +16,15 @@ module Homebrew
|
|||||||
#
|
#
|
||||||
# {GithubLatest} should only be used when the upstream repository has a
|
# {GithubLatest} should only be used when the upstream repository has a
|
||||||
# "latest" release for a suitable version and the strategy is necessary
|
# "latest" release for a suitable version and the strategy is necessary
|
||||||
# or appropriate (e.g. {Git} returns an unreleased version or the
|
# or appropriate (e.g. the formula/cask uses a release asset or the
|
||||||
# `stable` URL is a release asset). The strategy can only be applied by
|
# {Git} strategy returns an unreleased version). The strategy can only
|
||||||
# using `strategy :github_latest` in a `livecheck` block.
|
# be applied by using `strategy :github_latest` in a `livecheck` block.
|
||||||
#
|
#
|
||||||
# The default regex identifies versions like `1.2.3`/`v1.2.3` in the
|
# The default regex identifies versions like `1.2.3`/`v1.2.3` in a
|
||||||
# release's tag name. This is a common tag format but a modified regex
|
# release's tag or title. This is a common tag format but a modified
|
||||||
# can be provided in a `livecheck` block to override the default if a
|
# regex can be provided in a `livecheck` block to override the default
|
||||||
# repository uses a different format (e.g. `1.2.3d`, `1.2.3-4`, etc.).
|
# if a repository uses a different format (e.g. `1.2.3d`, `1.2.3-4`,
|
||||||
|
# etc.).
|
||||||
#
|
#
|
||||||
# @api public
|
# @api public
|
||||||
class GithubLatest
|
class GithubLatest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user