Closed heheda123123 closed 1 month ago
Bot detected the issue body's language is not English, translate it automatically.
Why do we have to change it to the form of
vx.x.x
? Is it a standard or does it depend on everyone’s preference?
It's to match the tag name, so git cloning works too:
为啥都要改成
vx.x.x
的形式呢,是规范还是看各人倾向?
看当前包对应的 git tag 格式,如果它有 v 前缀,就得带上,主要是为了保证 tag.gz 的 url 和 git url 同时可用,tag.gz 下载失败,回退到 checkout git tag ,还能够正常 checkout 出来。
Bot detected the issue body's language is not English, translate it automatically.
Why do we have to change it to the form of
vx.x.x
? Is it a standard or does it depend on everyone’s preference?
Look at the git tag format corresponding to the current package. If it has a v prefix, you must bring it. This is mainly to ensure that the url of tag.gz and the git url are available at the same time. If the download of tag.gz fails, fall back to checkout git tag. You can also Checkout normally.
为啥都要改成
vx.x.x
的形式呢,是规范还是看各人倾向?