docs: update action and README to reflect changelog-based versioning default
All checks were successful
Push Validation / validate (push) Successful in 54s
All checks were successful
Push Validation / validate (push) Successful in 54s
- action.yml: clarify that version-file triggers version-file-based resolution and that omitting it causes the version to be derived from the changelog; note version-pattern is only required when version-file is set. - README: replace stale reference to the plain-text release-version file as the default with an accurate description of changelog-based versioning as the default, directing users to set version-file and version-pattern only for repos with source-embedded versioning.
This commit is contained in:
@@ -10,11 +10,11 @@ inputs:
|
||||
description: Optional semantic version override. When omitted, the recommended version is used.
|
||||
required: false
|
||||
version-file:
|
||||
description: Path to version file relative to repository root.
|
||||
description: Path to version file relative to repository root. When omitted, the current version is derived from the most recent released section in the changelog.
|
||||
required: false
|
||||
default: ''
|
||||
version-pattern:
|
||||
description: Regular expression with one capture group for current version.
|
||||
description: Regular expression with one capture group for current version. Only required when version-file is set.
|
||||
required: false
|
||||
default: ''
|
||||
changelog:
|
||||
|
||||
Reference in New Issue
Block a user