mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 02:45:32 +00:00
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...)
14 lines
469 B
Python
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_"
|