version > auto-version
Automatically update versions.
Used by: version
Blocks¶
Block | Description |
---|---|
html { … } |
Extract version information from a HTML URL using XPath. |
Attributes¶
Attribute | Type | Description |
---|---|---|
git-tags |
string? |
Git remote URL to fetch git tags for version extraction. |
github-release |
string? |
GitHub <user>/<repo> to retrieve and update versions from the releases API. |
ignore-invalid-versions |
boolean? |
Ignore tags that don't match the versin-pattern instead of failing. Does not apply to versions extracted using HTML URL |
version-pattern |
string? |
Regex with one capture group to extract the version number from the origin. default: v?(.*) |