You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When no new release is published, there is no last_release_version in the step output.
Workflow
Create a workflow step using semantic-release-action and assign it an id of semantic.
Create a step immediately after that step to echo ${{ steps.semantic.outputs.last_release_version }}.
Run the github workflow with a commit that does not create a new release (ex: refactor).
Expected behavior
Expect the last release version to be output.
Additional context
Looking at the code for semantic-release, I think this is actually an expected result on their end. According to their docs, if no new release is published, the result object from semantic release should be false instead of an object.
Describe the bug
When no new release is published, there is no
last_release_version
in the step output.Workflow
semantic-release-action
and assign it an id ofsemantic
.${{ steps.semantic.outputs.last_release_version }}
.Expected behavior
Expect the last release version to be output.
Additional context
Looking at the code for
semantic-release
, I think this is actually an expected result on their end. According to their docs, if no new release is published, theresult
object from semantic release should befalse
instead of an object.semantic-release docs
The text was updated successfully, but these errors were encountered: