Skip to content

Commit

Permalink
Fix tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed May 9, 2021
1 parent bebb968 commit 4629078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def release_github(ctx):
toks = desc.split("\n")
desc = "\n".join(toks[:-1]).strip()
payload = {
"tag_name": "v" + ver,
"tag_name": "v" + NEW_VER,
"target_commitish": "master",
"name": "v" + ver,
"name": "v" + NEW_VER,
"body": desc,
"draft": False,
"prerelease": False,
Expand All @@ -116,7 +116,7 @@ def release_github(ctx):

@task
def commit(ctx):
ctx.run('git commit -a -m "v%s release"' % ver, warn=True)
ctx.run('git commit -a -m "v%s release"' % NEW_VER, warn=True)
ctx.run("git push", warn=True)


Expand Down

0 comments on commit 4629078

Please sign in to comment.