Skip to content

Commit 5673eb8

Browse files
Update package version
1 parent 735d1dc commit 5673eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/update_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
def main():
66
# First, find the current package version number from the setup.py file
7-
with open("setup.py", "r") as f:
7+
with open("pyproject.toml", "r") as f:
88
setup = f.read()
9-
version = setup.split("version=")[1].split(",")[0].strip('"')
9+
version = setup.split("version = ")[1].split(",")[0].strip('"')
1010
# Then, clone the https://github.com/policyengine/policyengine-api repo using the GitHub CLI
1111
pat = os.environ["GITHUB_TOKEN"]
1212
os.system(

0 commit comments

Comments
 (0)