我正在阅读有关 Github 版本 的信息,它似乎很适合您的项目。因为我们需要决定将哪些功能用于生产,哪些不用于。
我无法理解的部分是,master 和 release 分支如何在其中发挥作用。
Should I create a releases from release branch or develop branch?
.
I am not able to see a way to create a pull request from
releases
(not release branch) to master? so not sure from where I should deploy to Production Environment.
注意:发布和发布分支是两个不同的东西。发行版对 github 非常具体。 我在说这个https://help.github.com/en/articles/creating-releases
最佳答案
GitHub 发布是一种将可交付成果(通常是可执行文件,但也包括任何其他文件,例如用于检查可执行文件完整性的哈希文件)关联到标记或分支的方法。
目标是将可交付成果与特定的源代码提交相关联,假设所述可交付成果是从所述源代码构建的,并且你可以稍后从源代码复制或调试该可执行文件。
但该过程不会假设您选择哪个分支:这完全取决于您。
关于Github 发布 - 如何部署发布,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56810926/