mikeal / merge-release

Automatically release all merges to master on npm.
Other
475 stars 65 forks source link

Add step output "version" parameter for other parts of the workflow #24

Closed benwinding closed 4 years ago

benwinding commented 4 years ago

This adds the newVersion variable to an output variable in the Workflow context. It simply uses the workflow command detailed here.

Below shows the use-case I'm using it for (leaving a comment of the version deployed). I've been testing it with my own deployment of this github action and npm package

Link to Deploy action image

Link to Flow Run image

Link to PR image

Let me know what you think!

mikeal commented 4 years ago

awesome! thanks! :)

benwinding commented 4 years ago

No worries, might need to update the Readme to reflect this, but not sure if you want to do that. Cheers