b302192fabdea1660f1d6169e95cf67362a46d4b — Drew DeVault 20 days ago 641338f
Update bin/semver to read script from contrib/
1 files changed, 3 insertions(+), 1 deletions(-)

M bin/semver
M bin/semver => bin/semver +3 -1
@@ 37,7 37,9 @@ else:
          new_version = f"{major}.{minor}.{patch}"
  
- if os.path.exists(".git/_incr_version"):
+ if os.path.exists("contrib/_incr_version"):
+     subprocess.run(["contrib/_incr_version", describe, new_version])
+ elif os.path.exists(".git/_incr_version"):
      subprocess.run([".git/_incr_version", describe, new_version])
  
  with tempfile.NamedTemporaryFile() as f: