mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08:17 +00:00
809 B
809 B
Git-Based Semantic Versioning
This action produces a semantic version for a repository using the repositories git history.
Usage
- uses: paulhatch/semantic-version@v1
with:
#
main_branch: "master"
# The release branch pattern which be be used as a prefix for release branches
release_branch: "release"
# A string which, if present in a git commit, indicates that a change represents a major (breaking) change
major_pattern: "(MAJOR)"
# Same as above except indicating a minor change
minor_pattern: "(MINOR)"