git - 从 bitbucket 管道推送 git 标签?
问题描述
我想使用axion-release-plugin
哪个将标签添加到 git 存储库。
现在我想找到一种方法让 git 能够从 bitbucket 管道推送标签。
我怎样才能做到这一点?
解决方案
好的,这很简单。
在从命令行运行 gradle 任务时,我需要添加-Dhttp.proxyHost=localhost -Dhttp.proxyPort=29418
这是因为 bitbucket 引入了与 git 存储库交互的新方法:
推荐阅读
- javascript - 如何设置边界框的最小距离?
- php - 通过 URL 中的参数推送 CSS(路径)
- kubernetes - 将 EC2 上的文件夹添加为 EKS 集群上的卷
- reactjs - 在下载 react pacakge 时,我没有得到 src gitnore 和其他一些文件
- java - Mockito 实例间谍对内部和外部调用的工作方式不同
- javascript - 在对象字面量函数中需要等效于 switch case 的默认值
- unity3d - UnityHub 选项“Unity 编辑器文件夹”无效。想要更改 Unity 编辑器的安装位置?
- bash - 从 Bash 脚本启动时的不同版本的 Vim
- google-apps-script - 如何使用 Sheets API 在最后一列之后插入列?
- azure - 无法将存储帐户从 v1 升级到 StorageV2