【问题标题】:Git flow release branchGit 流发布分支
【发布时间】:2020-09-30 18:52:43
【问题描述】:

我正在我的公司和 this collection 上实现 git flow,但在 github 上存在我无法在 github 操作工作流中使用的行为。

开始新版本时,git flow release start 1.0.0 分支将创建为release/1.0.0。这只发生在我使用 git flow 开始一个新的 repo 时,所有其他 repo 都是在 bitbucket 上创建并随后导入到 github。

其他导入的分支名称为release,版本为标签。

工作流文件上的触发器是:

name: Release

on:
  push:
    branches: [ release ]
  pull_request:
    branches: [ release ] 

但我已经试过了,based on the docs:

[ release/*.*.* ]
[ release/* ]
[ release/1.0.0 ]

没有一个有效的解决方法,我删除了奇怪的分支并创建了一个release 分支。

【问题讨论】:

    标签: git github github-actions git-flow


    【解决方案1】:

    【讨论】:

    • 实际上看起来这种模式只适用于 github 的发布功能,不适用于分支名称的正则表达式。
    猜你喜欢
    • 2012-11-03
    • 2012-09-30
    • 2011-03-09
    • 2021-08-14
    • 2019-11-12
    • 1970-01-01
    • 1970-01-01
    • 2023-03-19
    • 1970-01-01
    相关资源
    最近更新 更多