Skip to content

Commit

Permalink
fix: setup.py version from git
Browse files Browse the repository at this point in the history
  • Loading branch information
alonh committed Mar 2, 2023
1 parent 6987a3d commit 766abc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import os

import git # for RELEASE_VERSION
RELEASE_VERSION = git.repo.Repo(".").git.describe(tags=True).rslist('-', 2)[0]
RELEASE_VERSION = git.repo.Repo(".").git.describe(tags=True).rsplit('-', 1)[0]

def package_files(prefix, directory):
paths = []
Expand Down

0 comments on commit 766abc6

Please sign in to comment.