Automatically create a release on GitHub? #167
-
Does commit-and-tag-version help with creating a release from a tag it's made, that would include the relevant items from the changelog? If not is there a suggested way of doing that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not at this time, no. If you're using github, then release-please may work for you - although I personally ran into some bugs with it. However, for the simple use cases that commit-and-tag-version supports, it seems fine. Alternatively, you could use a script that combines a |
Beta Was this translation helpful? Give feedback.
Not at this time, no.
If you're using github, then release-please may work for you - although I personally ran into some bugs with it. However, for the simple use cases that commit-and-tag-version supports, it seems fine.
Alternatively, you could use a script that combines a
--dry-run
to get the changelog with creating a release on github. I did that for another project a few years ago. Here's the bash script to extract the changelog and do the tagging, and the corresponding github workflow that does the actual creation. This script has some downsides - where it's possible for changes to land while the release is being made, resulting in an inconsistent state of publishes. Yout could rewo…