章鱼发行版本

发布于 2025-01-24 12:01:01 字数 365 浏览 2 评论 0原文

我正在使用章鱼部署的工具进行CD进程。我有一个问题,在发布过程中,团队的一些成员手动编辑了发行号并部署了发行号,因此发行号的序列具有不一致的不一致。

例如

  • 1.1.9096
  • 1.1.9097.1
  • 1.1.9098

我想知道有什么方法可以验证发布版本吗?还是可以使版本号仅读取?

I am using the tool octopus deploy for the CD process. I have a problem, during the release, some members of the team edited the release number manually and deployed So the sequence of the release number has inconsistency.

For example

  • 1.1.9096
  • 1.1.9097.1
  • 1.1.9098

I am wondering is there any way to validate the release ? or is it possible to make version number read-only?

octopus release

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扬花落满肩 2025-01-31 12:01:01

在章鱼中,任何具有创建发行版本的人都可以在创建时间选择发行号。您可以在 concopopus中,您可以在

有两种建议的方法:

  1. 设置您的 reparess versioning 自动增量 - 例如,文档页面上的底部图显示了变量设置以获取eyn.month.day.revision版本号(例如,一天的第一个版本版本版本为2022.4.26.0 ,下一个是2022.4.26.1,依此类推)。将此集作为您的版本策略,您可以创建一个发行版,而无需指定版本编号,它将自动增加版本而无需干预。
  2. 如果您在CI工具中创建版本作为构建过程的一部分,则可以使用构建服务器插件对于章鱼部署来管理发行号(例如,通常创建与CI系统中的构建号匹配的版本,以使识别匹配的构建/释放量更容易)

In Octopus, anyone with the ability to create a release can also select the release number at creation time. You can see more about available standard roles and how to customize them in the Octopus documentation here.

There are two recommended approaches:

  1. Set up your release versioning to automatically increment - for example, the bottom figure on the documentation page shows the variable setup to get a YEAR.MONTH.DAY.REVISION release number (e.g the first release of the day is versioned 2022.4.26.0, the next is 2022.4.26.1, and so on). With this set as your versioning strategy, you can create a release without a version number specified and it will auto increment the version without intervention.
  2. If you're creating a release as a part of your build process in your CI tool, you can likely use the build server plugin for Octopus Deploy to manage the release numbers (for example, it's common to create a release that matches the build number in the CI system to make it easier to identify the matching builds/releases)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文