summarylogtreecommitdiffstats
path: root/ci_compile.sh.patch
blob: 140374dba00611a55a61d15d69e368f4707b9e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/ci/compile.sh b/ci/compile.sh
index 6db84a4..05a1fbd 100755
--- a/ci/compile.sh
+++ b/ci/compile.sh
@@ -11,11 +11,6 @@ source "${WORKDIR}"/ci/archs.sh
 # shellcheck disable=SC2153
 [ "${ENVIRONMENT}" = "dev" ] && [ "${ARCH}" = "amd64" ] && BUILDMODE="-race" || BUILDMODE="-buildmode=pie"
 
-if [[ "${ENVIRONMENT}" == "prod" ]]; then
-	EVENTS_DOMAIN="${EVENTS_PROD_DOMAIN}"
-else
-	EVENTS_DOMAIN="${EVENTS_STAGING_DOMAIN}"
-fi
 
 LDFLAGS="-X 'main.Version=${VERSION}' \
 	-X 'main.Environment=${ENVIRONMENT}' \
@@ -23,8 +18,6 @@ LDFLAGS="-X 'main.Version=${VERSION}' \
 	-X 'main.Arch=${ARCH}' \
 	-X 'main.PackageType=${PACKAGE:-deb}' \
 	-X 'main.Salt=${SALT}' \
-	-X 'main.EventsDomain=${EVENTS_DOMAIN}' \
-	-X 'main.EventsSubdomain=${EVENTS_SUBDOMAIN}' \
 	-X 'main.FirebaseToken=${FIREBASE_TOKEN:-""}'"
 
 declare -A names_map=(