Skip to content

Custom Release titles for GitHub #2181

Discussion options

You must be logged in to vote

Yeah I think a hook for that would be fine I'm thinking a hook called modifyRelease that gets called before publish here.

The hook could get the release notes, tag and title and allow the hook to modify it. You could also then add a tiny plugin that implements the desired functionality.


If you didn't want to go this route though I think it would be possible to accomplish this without modifying auto.

  1. Create a plugin that taps makeRelease
  2. I think this should run after the default behavior. You'll have a reference to the tag that was release
  3. Use octokit and that tag to modify the release that was just made to follow your naming

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laughedelic
Comment options

Answer selected by hipstersmoothie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants