【问题标题】:AppCenter: build if commit message contains a specific stringAppCenter:如果提交消息包含特定字符串,则构建
【发布时间】:2020-09-27 13:21:46
【问题描述】:

是否可以将 Microsoft AppCenter 配置为在“每次推送时构建此分支”上设置构建频率,但如果提交消息包含每次推送的特定字符串,则构建。

【问题讨论】:

    标签: visual-studio-app-center visual-studio-app-center-distribute


    【解决方案1】:
    【解决方案2】:

    您可以为此使用以下逻辑:

    if ("git show $gitCommit || grep "regex" == false) 
     // { your code } do not deploy
    else
    // deploy
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-09
      • 2021-12-17
      • 1970-01-01
      • 2014-10-18
      相关资源
      最近更新 更多