Add release script #5

Merged
jobevers merged 12 commits from test-electron-release into master 2017-02-21 20:28:00 +01:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 445033f34a - Show all commits

View file

@ -39,6 +39,7 @@ build_script:
- node_modules\.bin\build -p never
# for debugging, see what was built
- dir dist
- pip install PyGithub uritemplate
- python release_on_tag.py
test: off

View file

@ -57,7 +57,10 @@ def check_repo_has_tag(repo, target_tag):
def get_release(current_repo, current_tag):
return current_repo.get_release(current_tag)
for release in current_repo.get_releases():
if release.tag_name == current_tag:
return release
raise Exception('No release for {} was found'.format(current_tag))
def get_artifact():