Skip to content

Commit

Permalink
feat: Add is-fallback-tag to outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
nioe committed Jan 28, 2025
1 parent 73bd090 commit 52d8aad
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ 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.

### `is-fallback-tag`

Indicates whether the `latest-release-tag` is the actually found (`false`) or the fallback tag (`true`)

### `is-release-commit`

Whether the current commit is a release commit (`"true"`) or not (`"false"`)
Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ inputs:
outputs:
latest-release-tag:
description: 'The content of the latest release tag. E.g. "v1.2.3"'
is-fallback-tag:
description: 'Indicates whether the `latest-release-tag` is the actually found (`false`) or the fallback tag (`true`)'
is-release-commit:
description: 'Whether the current commit is a release commit (`true`) or not (`false`)'
version:
Expand Down
Loading

0 comments on commit 52d8aad

Please sign in to comment.