Skip to content

Commit

Permalink
hotfix deploy script maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperski95 committed Apr 12, 2022
1 parent 6cf74c4 commit a52b53c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@
# add commit
assert new_protostar_version_str is not None
repo.git.add("pyproject.toml")
commit = repo.index.commit(
f"update version in pyproject.toml ({new_protostar_version_str})"
)
commit = repo.index.commit(f"update protostar ({new_protostar_version_str})")

# add tag
tag = repo.create_tag(f"v{new_protostar_version_str}", ref=commit.hexsha)

# push to master
origin = repo.remote(name="origin")
origin.push()
origin.push(tag.path)

0 comments on commit a52b53c

Please sign in to comment.