Skip to content

Commit

Permalink
fix invoke script
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMontoya-TRI committed Jan 24, 2022
1 parent 825a7b3 commit 99be7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ def release_github(ctx):
desc = "\n".join(toks[:-1]).strip()
payload = {
"tag_name": "v" + NEW_VER,
"target_commitish": "master",
"target_commitish": "main",
"name": "v" + NEW_VER,
"body": desc,
"draft": False,
"prerelease": False
}
response = requests.post(
"https://api.github.com/repos/ToyotaResearchInstitute/camd/releases",
"https://api.github.com/repos/TRI-AMDD/camd/releases",
data=json.dumps(payload),
headers={"Authorization": "token " + os.environ["GITHUB_RELEASES_TOKEN"]})
print(response.text)
Expand Down

0 comments on commit 99be7f8

Please sign in to comment.