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)
评论列表
文章目录