简体   繁体   English

如何从将显示在发布列表中的标签创建发布?

[英]How to create release from tag that will show on the releases list?

I added some tags through git (command-line) and tried to create a release that will show under "releases", but unfortunately every time I create a release it will always show up in "tags".我通过 git(命令行)添加了一些标签,并尝试创建一个将显示在“发布”下的版本,但不幸的是,每次我创建一个发布时,它总是会显示在“标签”中。

I used the command-line to create 3 tags: v0.1 (from an old commit) v0.1.1 (from another old commit) v0.1.2 (from another old commit) Every time I create a release and add an existing tag the release won't show up.我使用命令行创建了 3 个标签: v0.1(来自旧提交) v0.1.1(来自另一个旧提交) v0.1.2(来自另一个旧提交) 每次我创建一个版本并添加一个现有标签时发布不会出现。

As mentioned in one of the comments, git doesn't have a concept of releases, just tags.正如其中一条评论所述,git 没有发布的概念,只有标签。 You can name your tags like release_xyz if you want.如果需要,您可以将标签命名为 release_xyz。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM