Skip to content

Commit

Permalink
Feature/release from envvar (#5)
Browse files Browse the repository at this point in the history
* Fixing typo in --dirty.
  • Loading branch information
gguridi authored Sep 7, 2020
1 parent e046ad7 commit 34761ea
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 @@ -29,7 +29,7 @@ def get_version_from_file() -> str:

def get_version_from_git() -> str:
try:
version = subprocess.check_output(["git", "describe", "-dirty"])
version = subprocess.check_output(["git", "describe", "--dirty"])
git_version = version.strip().decode()
return re.sub(r"-.*$", "-dev" + str(int(time())), git_version)
except Exception as e:
Expand Down

0 comments on commit 34761ea

Please sign in to comment.