章鱼发行版本
我正在使用章鱼部署的工具进行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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在章鱼中,任何具有创建发行版本的人都可以在创建时间选择发行号。您可以在 concopopus中,您可以在。
有两种建议的方法:
eyn.month.day.revision
版本号(例如,一天的第一个版本版本版本为2022.4.26.0
,下一个是2022.4.26.1
,依此类推)。将此集作为您的版本策略,您可以创建一个发行版,而无需指定版本编号,它将自动增加版本而无需干预。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:
YEAR.MONTH.DAY.REVISION
release number (e.g the first release of the day is versioned2022.4.26.0
, the next is2022.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.