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:
Emil Kantis 2023-02-27 22:32:29 +01:00
parent 9e89a29a4a
commit e27fda7711
No known key found for this signature in database
GPG key ID: 5053C7ECBEC9A5E9
17 changed files with 85 additions and 29 deletions

View file

@ -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.