Update readme for v4

This commit is contained in:
Paul Hatcherian 2021-02-13 12:33:02 -05:00
parent 1afa8eb537
commit d061f3fb0e

View file

@ -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)"