chore: strip debug symbol from backend binary (#856)

This commit is contained in:
Maxime R
2025-08-21 17:46:45 +02:00
committed by GitHub
parent 61e63e411d
commit 49f0fa423c

View File

@@ -38,7 +38,7 @@ build_platform() {
# Build the binary
eval "${env_vars} go build \
-ldflags='-X github.com/pocket-id/pocket-id/backend/internal/common.Version=${pocket_id_version} -buildid ${pocket_id_version}' \
-ldflags='-X github.com/pocket-id/pocket-id/backend/internal/common.Version=${pocket_id_version} -buildid ${pocket_id_version} -s' \
-o \"${output_dir}\" \
-trimpath \
./cmd"