diff --git a/setup.py b/setup.py
index bb98d2b..5461af4 100644
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,7 @@
 setup(
     name='dirhash',
     version=versioneer.get_version(),
+    cmdclass=versioneer.get_cmdclass(),
     description=DESCRIPTION,
     long_description=long_description,
     long_description_content_type="text/markdown",
diff --git a/src/dirhash/_version.py b/src/dirhash/_version.py
index 36c109b..d5278f4 100644
--- a/src/dirhash/_version.py
+++ b/src/dirhash/_version.py
@@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig:
     cfg = VersioneerConfig()
     cfg.VCS = "git"
     cfg.style = "pep440"
-    cfg.tag_prefix = ""
+    cfg.tag_prefix = "v"
     cfg.parentdir_prefix = "dirhash-"
     cfg.versionfile_source = "src/dirhash/_version.py"
     cfg.verbose = False