【发布时间】:2020-06-16 11:32:26
【问题描述】:
我之前使用语义标签来标记我的版本,但现在我有一个要求,即每个版本都将附加一个名称和编号,例如 rel-1.0.1、rel-1.0.2 ... 所以如果我做对了,我就不能再使用这个库了,因为我需要专门控制标签。 所以我使用 ansible,我发现了这个很酷的页面: https://docs.ansible.com/ansible/latest/modules/github_release_module.html
与
- name: Create a new release
github_release:
token: tokenabc1234567890
user: testuser
repo: testrepo
action: create_release
tag: test
target: master
name: My Release
body: Some description
现在我很困惑。如果我的仓库是这样的,则在仓库名称中:git@github.mycompany.com:test/test-backend.git
如果我只是将 test-backend.git 放在 repo 名称部分,那将如何解决和工作?我不应该放完整路径吗?
【问题讨论】:
标签: git ansible ansible-2.x