python2 scripts/git_revision.py
works fine for meFileNotFoundError
Traceback (most recent call last):
File "/ddnet/scripts/git_revision.py", line 5, in <module>
except (FileNotFoundError, subprocess.CalledProcessError):
NameError: name 'FileNotFoundError' is not defined
python --version
?docker run --rm <container> python --version
except
clause is only evaluated if an error occursfatal: Not a git repository (or any parent up to mount point /build)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Traceback (most recent call last):
File "/ddnet/scripts/git_revision.py", line 5, in <module>
except (FileNotFoundError, subprocess.CalledProcessError):
NameError: name 'FileNotFoundError' is not defined
3610f0c
Python 2 support for scripts/git_revision.py
... - heinrich5991docker build -t ddnet .
docker run -v ~/ddnet/build:/build -it ddnet ./build-all.sh
Currently only works for linux and windows. Will add mac, prepare bundles and close #997.1387ee9
Regenerate version file on git changes - heinrich5991
ad99c58
Add /pausevoted and /specvoted - def-
fca8155
Merge pull request #1056 from heinrich5991/pr_d... - def-
b285d77
Python 2 support for scripts/git_revision.py
... - heinrich5991
565f963
Properly hide stderr in scripts/git_revision.py
- heinrich5991