disable hash stamping

This commit is contained in:
Paul Gauthier 2024-08-30 13:44:53 -07:00
parent 3f38c47c66
commit fc71d9287d

View file

@ -1,5 +1,8 @@
__version__ = "0.54.8-dev" __version__ = "0.54.8-dev"
# This is disabled. Git pre-push hooks won't pick up a new commit with the hash.
"""[[[cog """[[[cog
import subprocess import subprocess
@ -13,7 +16,7 @@ except subprocess.CalledProcessError:
cog.out(f'git_hash = "{git_hash}"') cog.out(f'git_hash = "{git_hash}"')
]]]""" ]]]"""
git_hash = "36c41bf" git_hash = None
"""[[[end]]]""" """[[[end]]]"""
if "-dev" in __version__ and git_hash: if "-dev" in __version__ and git_hash: