在 GitLab 中删除版本 [英] Remove releases in GitLab
本文介绍了在 GitLab 中删除版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have a problem with my releases in GitLab.
I created them in my project with tags. Now I want to remove them, so I deleted the associated tags but my releases are always displayed. I searched on Google and Stack Overflow but I can't find any solutions.
How can I remove these releases without their tags?
解决方案
Currently (GitLab v11.9.8) you can't. It's silly, I know, but you can't.
Ivan came up with a workaround if you have only a few releases to delete. His steps are copied below.
Ivan Kostrubin (@ovitente):
For fixing this issue you have to go through those steps
- Create tag with the same name and release message that was in release, you will be able to edit this tag.
- Open tag's release message for editing
- Remove all text
- Save it
- And release has gone from the release list.
- Then you can freely delete tag.
Source: https://gitlab.com/gitlab-org/gitlab-ce/issues/58549#note_160000873
Check out these GitLab issues:
- [#58549] Deleting releases with removed TAG in Release API
- [#56026] Make it possible to add/edit/delete a release using the UI
这篇关于在 GitLab 中删除版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文