pascalgn / npm-publish-action

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

tag_name and tag_message #7

Closed yawetse closed 4 years ago

yawetse commented 4 years ago

Hi @pascalgn first of all, great action! I'm switching over from travis to GH Actions, I was wondering if you could provide an example of how to pass the tag_name and tag_message via the commit ?

Thanks

pascalgn commented 4 years ago

I think (hope) this has been clarified now in the README:

Now, when someone changes the version in package.json to 1.2.3 and pushes a commit with the message Release 1.2.3, the npm-publish action will create a new tag v1.2.3 and publish the package to the npm registry.

If you need additional help, feel free to reopen this!