我们将azuredevops用于Git回购,将azurepipelines用于CI/CD,将azureartifacts用于私有托管python包。你知道吗
我想:
Tag a Git repo with Python Package version from Azure Pipelines in Azure DevOps Git repo
示例
git tag -a "$(python setup.py --version)" -m "Released version $(python setup.py --version)"
我已经阅读了Azure文档,但似乎它们都使用Azure管道变量作为内部版本号。你知道吗
在构建管道上,有一个复选框,用于在成功构建轮子工件时标记回购。你知道吗
但我不确定如何将包版本作为管道变量公开,因为这个作业没有位置让我转义以执行自定义代码。我肯定有办法做到这一点,但我在这一点上,我需要帮助和文件是没有指导我到正确的地方,根据我的查询和阅读。你知道吗
不满意这种方法,但它实现了结果。你知道吗
感谢@C.Nivs建议在成功构建控制盘和导出构建工件的任务之间对Bash脚本进行破解。你知道吗
参考文献:
相关问题 更多 >
编程相关推荐