mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2026-04-17 12:29:52 +00:00
Adding is_tagged to outputs
Sets a flag when the current commit that the action is being run on has a tag matching the version format
This commit is contained in:
parent
9e89a29a4a
commit
e27fda7711
17 changed files with 85 additions and 29 deletions
|
|
@ -114,6 +114,7 @@ it will be given the new version if the build were to be retriggered, for exampl
|
|||
- *version* is a formatted version string created using the format input. This is a convenience value to provide a preformatted representation of the data generated by this action.
|
||||
- *version_tag* is a string identifier that would be used to tag the current commit as the "released" version. Typically this would only be used to generate a Git tag name.
|
||||
- *changed* indicates whether there was a change since the last version if change_path was specified. If no `change_path` was specified this value will always be true since the entire repo is considered. (It is possible to create a commit with no changes, but the Git cli rejects this by default and this case is not considered here)
|
||||
- *is_tagged* indicates whether the current commit has a tag matching `tag_prefix`
|
||||
- *authors* is a list of authors that have committed to this version, formatted as either csv or json.
|
||||
- *current_commit* is the current commit hash.
|
||||
- *previous_commit* is the previous commit hash.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue