gpt4 book ai didi

gitlab - 在 Gitlab 中更改发布的标签

转载 作者:行者123 更新时间:2023-12-05 06:04:04 31 4
gpt4 key购买 nike

我需要重命名 gitlab 仓库中的标签

git tag new old
git tag -d old
git push origin new :old

但现在我坚持使用与旧标签相关联的版本。是创建新版本和删除旧版本的唯一解决方案,如 this

最佳答案

Is the only solution to create new Releases and delete the old one

可能,因为发布的想法是可以从不可变 标签复制。

如果标签发生变化(此处重命名),则应完成新版本发布(即使标签引用相同的代码)。

GitLab 15.4 (2022 年 9 月)说明了这种关系:

Add associated release link to single tag page

In this update, you can now see the associated release when viewing a specific tag’s information page. This allows you to easily know if a release has been created based on that specific tag and to navigate to the release.

https://about.gitlab.com/images/15_4/release-show-release-in-tag-page.png -- Add associated release link to single tag page

See Documentation and Issue.

关于gitlab - 在 Gitlab 中更改发布的标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66459623/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com