Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
Fix counting commits
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMEEE committed Dec 22, 2023
1 parent 81ed10f commit 00812fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry_version_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def activate(self, poetry: Poetry, io: IO) -> None:
)
hash = result.stdout.strip()
result = subprocess.run(
["git", "rev-list", hash+"..HEAD", "--count"],
["git", "rev-list", tag+"..HEAD", "--count"],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
universal_newlines=True,
Expand Down

0 comments on commit 00812fd

Please sign in to comment.