spiegel-keyman/linux/keyman-config/keyman_config/version.py.in
Eberhard Beilharz c3540e9f37
chore(linux): Fix uploading to Sentry
On local builds we shouldn't upload errors to Sentry. The
`build-utils.sh` script sets the `UPLOAD_SENTRY` environment variable
for that purpose. Also, Sentry doesn't like having an empty string
as pkgversion (which should no longer happen with the rest of this
change, but...)
2021-08-23 16:24:13 +02:00

14 lines
469 B
Python

#!/usr/bin/python3
# Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
__version__ = "_VERSION_"
__versionwithtag__ = "_VERSIONWITHTAG_"
__majorversion__ = "_MAJORVERSION_"
__releaseversion__ = "_RELEASEVERSION_"
__tier__ = "_TIER_"
__pkgversion__ = "(local)"
__environment__ = "_ENVIRONMENT_"
__uploadsentry__ = "_UPLOADSENTRY_"