Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 5

How to delete release completely?

Solved! Go to Solution.

Hello,

I created a new release, publish it, then I found several bugs and fixed them. But I see they are not in the latest release. So, I deleted a release, fixed a couple more bugs then created a new release with the same version. And then I found that all these fixes are not in release again! Obviously it's because github "remembered" my previous tag. 

 

What should I do now? I don't want to change a tag (release name) because it's important to me. But I don't know how to make github "forget" this tag, or include updates in this current release.

Thanks

4 Replies
Commander Lvl 3
Message 2 of 5

Re: How to delete release completely?

You can delete a release by going to the release (as if you were viewing it), then clicking the Delete Release button.

 

Naamloos.png


- Mark
Copilot Lvl 3
Message 3 of 5

Re: How to delete release completely?

Hi,

thanks for your response.

I did exactly what you described. But when I create a new release with the same name it "catches" the commits for that deleted resource, but not current ones. This is the problem.

Solution
Community Manager
Message 4 of 5

Re: How to delete release completely?

Hi @CaravelKit,

 

Thank you for being here! It is possible to delete using git from the command line. This can be done by running the following command inside the repository locally:

 

git push --delete origin tagname

 

Running the command above should delete the tag, allowing you to create it again against the correct branch.

 

I hope this helps!

Best,

Andrea

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 5 of 5

Re: How to delete release completely?

Thanks!

I will try this approach.