mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2026-04-16 11:59:52 +00:00
Add support for disabling short tags
This commit is contained in:
parent
32d6426aef
commit
959e71ff1c
5 changed files with 34 additions and 5 deletions
|
|
@ -66,6 +66,8 @@ it will be given the new version if the build were to be retriggered, for exampl
|
|||
```yaml
|
||||
- uses: paulhatch/semantic-version@v3.1.2
|
||||
with:
|
||||
# The prefix to use to identify tags
|
||||
branch: "master"
|
||||
# The prefix to use to identify tags
|
||||
tag_prefix: "v"
|
||||
# A string which, if present in a git commit, indicates that a change represents a
|
||||
|
|
@ -80,6 +82,9 @@ it will be given the new version if the build were to be retriggered, for exampl
|
|||
change_path: "src/my-service"
|
||||
# Named version, will be used as suffix for name version tag
|
||||
namespace: project-b
|
||||
# Indicate whether short tags like 'v1' should be supported. If false only full
|
||||
# tags like 'v1.0.0' will be recognized.
|
||||
short_tags: true
|
||||
```
|
||||
|
||||
## Using Multiple Versions in the Same Repository
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue