release.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:LBOfficeMRU 作者: nriley 项目源码 文件源码
def release(version, github_access_token):
    repo = 'nriley/LBOfficeMRU'
    os.chdir(project_path())
    action_paths = glob.glob('*.lbaction')

    for action_path in action_paths:
        # update version number and download URL in the working copy so it can be committed
        update_bundle_version(action_path, version, repo)

    archive_path = archive_bundles('LBOfficeMRU', version, action_paths)

    if github_access_token is None:
        return

    html_url = upload_release('nriley/LBOfficeMRU', version, archive_path, github_access_token)
    webbrowser.open(html_url)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号