Skip to content

Commit

Permalink
update tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
ardunn committed Sep 11, 2019
1 parent 3e8c202 commit 0da12a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def full_tests_circleci(ctx):

@task
def release(ctx):
version_check(ctx)
payload = {
"tag_name": "v" + __version__,
"target_commitish": "master",
Expand All @@ -88,6 +89,7 @@ def release(ctx):

@task
def publish(ctx):
ctx.run("rm dist/*.*", warn=True)
version_check(ctx)
ctx.run("rm -r dist build", warn=True)
ctx.run("python3 setup.py sdist bdist_wheel")
ctx.run("twine upload dist/* --verbose")

0 comments on commit 0da12a9

Please sign in to comment.