mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
cleanup
This commit is contained in:
parent
2ad13b89b0
commit
3b045a2cef
1 changed files with 0 additions and 23 deletions
|
@ -1,24 +1 @@
|
||||||
__version__ = "0.54.9-dev"
|
__version__ = "0.54.9-dev"
|
||||||
|
|
||||||
|
|
||||||
# This is disabled. Git pre-push hooks won't pick up a new commit with the hash.
|
|
||||||
|
|
||||||
"""[[[cog
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
try:
|
|
||||||
git_hash = subprocess.check_output(
|
|
||||||
['git', 'rev-parse', '--short=7', 'HEAD'],
|
|
||||||
universal_newlines=True,
|
|
||||||
).strip()
|
|
||||||
except subprocess.CalledProcessError:
|
|
||||||
git_hash = None
|
|
||||||
|
|
||||||
cog.out(f'git_hash = "{git_hash}"')
|
|
||||||
]]]"""
|
|
||||||
git_hash = None
|
|
||||||
"""[[[end]]]"""
|
|
||||||
|
|
||||||
if "-dev" in __version__ and git_hash:
|
|
||||||
xyz = __version__.split("-")[0]
|
|
||||||
__version__ = xyz + "-dev+" + git_hash
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue