Editing tag reference on Github release

Posted under github tag release git on

To release my stretchly app I use Github releases. And my workflow is similar to this:

Two last steps should be in sequence, as Github’s release mechanism will use master as reference for the new tag it’s about to create.

But today I somehow messed up and I released version before merging it first. (Nope, I don’t have CI do this for me, yet.)

If you go ahead and try to edit the release, all Github let you do is edit tag name, description and so on, but not the tag reference. But as it turns out, and it always turns out that way, the fix is pretty simple with good old command line.

Now your release is in draft stage again and you can edit the tag reference.

Did you enjoy this? Copy-paste the link from the address bar to your favourite social network to share. Subscribe here.

Comments are hosted by Disqus. Loading them connects to Disqus and its partners, which may use cookies and collect browsing data. Disqus privacy policy.