diff --git a/Makefile b/Makefile index 0802ca10..c1ab31c6 100644 --- a/Makefile +++ b/Makefile @@ -161,7 +161,7 @@ ${EXE_TARGET}: check-build-essentials ${EXE_NAME} BRIDGE_DSN_SENTRY=${DSN_SENTRY} \ BRIDGE_BUILD_TIME=${BUILD_TIME} \ BRIDGE_GUI_BUILD_CONFIG=Release \ - BRIDGE_BUILD_ENV=BUILD_ENV \ + BRIDGE_BUILD_ENV=${BUILD_ENV} \ BRIDGE_INSTALL_PATH=${ROOT_DIR}/${DEPLOY_DIR}/${GOOS} \ ./build.sh install mv "${ROOT_DIR}/${BRIDGE_EXE}" "$(ROOT_DIR)/${EXE_TARGET}" diff --git a/internal/frontend/bridge-gui/bridge-gui/SentryUtils.cpp b/internal/frontend/bridge-gui/bridge-gui/SentryUtils.cpp index 0a22ad3d..f273064a 100644 --- a/internal/frontend/bridge-gui/bridge-gui/SentryUtils.cpp +++ b/internal/frontend/bridge-gui/bridge-gui/SentryUtils.cpp @@ -48,7 +48,7 @@ QString appVersion(const QString& version) { void setSentryReportScope() { sentry_set_tag("OS", bridgepp::goos().toUtf8()); 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("server_name", getProtectedHostname()); }