美文网首页
Xcode auto tag when archive

Xcode auto tag when archive

作者: 十一岁的加重 | 来源:发表于2020-07-13 13:40 被阅读0次
    image.png

    Auto Tag When Archive

    if [[ "$TARGET_BUILD_DIR" == *"/Archive"* ]]; then
        tagName="$MARKETING_VERSION-$CURRENT_PROJECT_VERSION-${CONFIGURATION=}"
        if git rev-parse "$tagName" >/dev/null 2>&1; then
            git tag -d $tagName
            git push origin --delete $tagName
        fi
        git tag $tagName
        git push origin $tagName 
    fi
    
    

    相关文章

      网友评论

          本文标题:Xcode auto tag when archive

          本文链接:https://www.haomeiwen.com/subject/ypyacktx.html