gitlab管道中的犯罪者

发布于 2025-01-22 09:08:42 字数 311 浏览 3 评论 0原文

我必须在Gitlab管道中运行犯罪箱(CZ Bump)。问题是我首先必须运行CZ Init并回答一些问题。在管道中不可能。我收到一个错误:

$ cz颠簸 [no_version_specified] 检查是否在配置文件中指定了当前版本,例如: 版本= 0.4.3

我还配置了pyproject.toml,但这无济于事。 解决方案表格在这里无效: 有什么解决方案吗?

I have to run Commitizen (cz bump) in gitlab pipeline. The problem is that firstly I have to run cz init and answer some questions. It is not possible in Pipeline. I received an error:

$ cz bump
[NO_VERSION_SPECIFIED]
Check if current version is specified in config file, like:
version = 0.4.3

I have also configured pyproject.toml but it doesn't help.
Solution form here doesn't work:
https://commitizen-tools.github.io/commitizen/tutorials/gitlab_ci/
Is there any solution to do this?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文