Update readme

This commit is contained in:
Paul Hatcherian 2023-08-13 20:46:03 -04:00
parent 976ff820fc
commit 4f07cfb9e0

View file

@ -1,7 +1,5 @@
![Build](https://github.com/PaulHatch/semantic-version/workflows/Build/badge.svg) ![Build](https://github.com/PaulHatch/semantic-version/workflows/Build/badge.svg)
> *Version 5 GA now available!*
See [contributing.md](contributing.md) for information on how to get help or contribute to this project. See [contributing.md](contributing.md) for information on how to get help or contribute to this project.
# Git-Based Semantic Versioning # Git-Based Semantic Versioning
@ -75,7 +73,7 @@ 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@v5.0.2 - uses: paulhatch/semantic-version@v5.1.0
with: with:
# The prefix to use to identify tags # The prefix to use to identify tags
tag_prefix: "v" tag_prefix: "v"
@ -153,12 +151,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@v5.0.2 uses: paulhatch/semantic-version@v5.1.0
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@v5.0.2 uses: paulhatch/semantic-version@v5.1.0
with: with:
major_pattern: "(MAJOR-DB)" major_pattern: "(MAJOR-DB)"
minor_pattern: "(MINOR-DB)" minor_pattern: "(MINOR-DB)"