diff options
author | 2020-09-02 22:19:45 +0100 | |
---|---|---|
committer | 2020-09-02 22:19:45 +0100 | |
commit | 55d4b8ff7457629676c3964581900c0328cb4673 (patch) | |
tree | ca14eea4be10f530f216b3f371cabfef345792c1 /pydis_site/constants.py | |
parent | Merge pull request #349 from ks129/tags-cleanup (diff) | |
parent | Merge branch 'master' into add_deployment_info (diff) |
Merge pull request #376 from python-discord/add_deployment_info
Add deployment info and set up Sentry releases
Diffstat (limited to 'pydis_site/constants.py')
-rw-r--r-- | pydis_site/constants.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/constants.py b/pydis_site/constants.py new file mode 100644 index 00000000..0b76694a --- /dev/null +++ b/pydis_site/constants.py @@ -0,0 +1,5 @@ +import git + +# Git SHA +repo = git.Repo(search_parent_directories=True) +GIT_SHA = repo.head.object.hexsha |