👋 Hey there! I ran into a bit of a confusing edge case using this action: I set noVersionBumpBehavior to current in my github action, but when there are no commits since the latest tag, it exits with an error here rather than returning the current version as the readme led me to expect.
For context, if it's helpful, the flow that I'm using this for is for testing alpha versions. The workflow is that when contributors open PRs to the repo, our CI github action builds the project and publishes an artifact for each PR build to our artifactory that contributors can use to test with. My aim is to have this publish workflow publish the artifact as ${current}-alpha-${unique identifier} for a PR build and ${next} for a master build.
Not sure if this is a bug or if this particular workflow is just not supported by this action, but figured I would drop a note here regardless and ask if it'd make sense for noVersionBumpBehavior to also apply if there aren't new commits.
👋 Hey there! I ran into a bit of a confusing edge case using this action: I set
noVersionBumpBehavior
tocurrent
in my github action, but when there are no commits since the latest tag, it exits with an error here rather than returning the current version as the readme led me to expect.For context, if it's helpful, the flow that I'm using this for is for testing alpha versions. The workflow is that when contributors open PRs to the repo, our CI github action builds the project and publishes an artifact for each PR build to our artifactory that contributors can use to test with. My aim is to have this publish workflow publish the artifact as
${current}-alpha-${unique identifier}
for a PR build and${next}
for a master build.Not sure if this is a bug or if this particular workflow is just not supported by this action, but figured I would drop a note here regardless and ask if it'd make sense for
noVersionBumpBehavior
to also apply if there aren't new commits.