Files
chroma/bin/version
Hammad Bashir c17249b818 Add precommit hooks (#483)
Adds precommit hooks based on #433 to our repository. Only one file here is new - the configuration for the hooks, everything else is linting/formatting fixes. We do not run the typechecker globally since that would be quite lengthy to clean up - instead we will have to incrementally clean up type check issues as we go.
2023-05-10 05:52:12 +00:00

9 lines
151 B
Bash
Executable File

#!/usr/bin/env bash
export VERSION=`python -m setuptools_scm`
if [[ -n `git status --porcelain` ]]; then
VERSION=$VERSION-dirty
fi
echo $VERSION