mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08:17 +00:00
Update readme for v4
This commit is contained in:
parent
1afa8eb537
commit
d061f3fb0e
1 changed files with 3 additions and 5 deletions
|
|
@ -66,10 +66,8 @@ it will be given the new version if the build were to be retriggered, for exampl
|
||||||
<!-- start usage -->
|
<!-- start usage -->
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: paulhatch/semantic-version@v3.3
|
- uses: paulhatch/semantic-version@v4
|
||||||
with:
|
with:
|
||||||
# The prefix to use to identify tags
|
|
||||||
branch: "master"
|
|
||||||
# The prefix to use to identify tags
|
# The prefix to use to identify tags
|
||||||
tag_prefix: "v"
|
tag_prefix: "v"
|
||||||
# A string which, if present in a git commit, indicates that a change represents a
|
# A string which, if present in a git commit, indicates that a change represents a
|
||||||
|
|
@ -130,12 +128,12 @@ like `v1.2.3+0-db` could be configured like this:
|
||||||
```yaml
|
```yaml
|
||||||
- name: Application Version
|
- name: Application Version
|
||||||
id: version
|
id: version
|
||||||
uses: paulhatch/semantic-version@v3.3
|
uses: paulhatch/semantic-version@v4
|
||||||
with:
|
with:
|
||||||
change_path: "src/service"
|
change_path: "src/service"
|
||||||
- name: Database Version
|
- name: Database Version
|
||||||
id: db-version
|
id: db-version
|
||||||
uses: paulhatch/semantic-version@v3.3
|
uses: paulhatch/semantic-version@v4
|
||||||
with:
|
with:
|
||||||
major_pattern: "(MAJOR-DB)"
|
major_pattern: "(MAJOR-DB)"
|
||||||
minor_pattern: "(MINOR-DB)"
|
minor_pattern: "(MINOR-DB)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue