chore: fix sentry tag for dev and release on GUI side.

This commit is contained in:
Romain LE JEUNE
2023-02-15 16:10:58 +01:00
committed by Romain Le Jeune
parent caa4a5cbdb
commit 2a4cb6a916
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ ${EXE_TARGET}: check-build-essentials ${EXE_NAME}
BRIDGE_DSN_SENTRY=${DSN_SENTRY} \ BRIDGE_DSN_SENTRY=${DSN_SENTRY} \
BRIDGE_BUILD_TIME=${BUILD_TIME} \ BRIDGE_BUILD_TIME=${BUILD_TIME} \
BRIDGE_GUI_BUILD_CONFIG=Release \ BRIDGE_GUI_BUILD_CONFIG=Release \
BRIDGE_BUILD_ENV=BUILD_ENV \ BRIDGE_BUILD_ENV=${BUILD_ENV} \
BRIDGE_INSTALL_PATH=${ROOT_DIR}/${DEPLOY_DIR}/${GOOS} \ BRIDGE_INSTALL_PATH=${ROOT_DIR}/${DEPLOY_DIR}/${GOOS} \
./build.sh install ./build.sh install
mv "${ROOT_DIR}/${BRIDGE_EXE}" "$(ROOT_DIR)/${EXE_TARGET}" mv "${ROOT_DIR}/${BRIDGE_EXE}" "$(ROOT_DIR)/${EXE_TARGET}"

View File

@ -48,7 +48,7 @@ QString appVersion(const QString& version) {
void setSentryReportScope() { void setSentryReportScope() {
sentry_set_tag("OS", bridgepp::goos().toUtf8()); sentry_set_tag("OS", bridgepp::goos().toUtf8());
sentry_set_tag("Client", PROJECT_FULL_NAME); sentry_set_tag("Client", PROJECT_FULL_NAME);
sentry_set_tag("Version", QByteArray(PROJECT_REVISION).toHex()); sentry_set_tag("Version", PROJECT_REVISION);
sentry_set_tag("HostArch", QSysInfo::currentCpuArchitecture().toUtf8()); sentry_set_tag("HostArch", QSysInfo::currentCpuArchitecture().toUtf8());
sentry_set_tag("server_name", getProtectedHostname()); sentry_set_tag("server_name", getProtectedHostname());
} }