Checks whether the current commit is a release commit.
A glob prefix to filter tag names. Set to * if all tags shall be taken into account.
Default: v*
The fallback if no release tag could have been found.
Default: 0.0.0
The content of the latest release tag. E.g. "v1.2.3" or the value of fallback-tag if no tag could be found.
Indicates whether the latest-release-tag is the actually found (false) or the fallback tag (true)
Whether the current commit is a release commit ("true") or not ("false")
The actual version extracted from the git tag ("v1.2.3" -> "1.2.3")
The major part of the version extracted from the git tag ("v1.2.3" -> "1")
The minor part of the version extracted from the git tag ("v1.2.3" -> "2")
The minor part of the version extracted from the git tag ("v1.2.3" -> "3")
If is-release-commit is "false", the next semantic version based on the commits since the last release is returned.
Otherwise, the currently built version is returned.
The short SHA of the current commit, i.e. "d09e6f6"
- uses: NiverEngineering/is-release-commit-action@v1
id: is-release-commit