pascalgn / npm-publish-action

GitHub action to automatically publish packages to npm
MIT License
221 stars 29 forks source link

Run fails with "No commit found for version: x.x.x" #9

Closed zhouzi closed 4 years ago

zhouzi commented 4 years ago

I might be missing something but when a commit that is not a release is pushed, the run fails with:

No commit found for version: x.x.x

This marks the repository's latest run as failed and I receive an email. That doesn't seem like an error to me, it's just a commit not to take into consideration.

Is there anything special to configure to silence those failures?

EdwinOtten commented 4 years ago

I started using this Action today and immediately ran into this issue. @Zhouzi thanks for submitting a fix so quickly!! 👍