Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add git info for logger #135

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix incompatible in low version glibc
  • Loading branch information
cloverstd committed Jul 5, 2023
commit 2cf668e455665ddbc72f5144602ca0e4204d26b8
6 changes: 3 additions & 3 deletions backend/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ BuildRelease() {

for arch in ${archs[@]}
do
env GOOS=linux GOARCH=${arch} go build -o ./build/${project_name}-linux-${arch}
env GOOS=linux GOARCH=${arch} CGO_ENABLED=0 go build -o ./build/${project_name}-linux-${arch}
mkdir -p npm/linux-${arch}/bin
cp -r ./build/${project_name}-linux-${arch} npm/linux-${arch}/bin/${project_name}
PublishAndGeneratePackageJson "linux" "${arch}" "npm/linux-${arch}"
Expand All @@ -157,7 +157,7 @@ BuildRelease() {

for arch in ${win_archs[@]}
do
env GOOS=windows GOARCH=${arch} go build -o ./build/${project_name}-win32-${arch}.exe
env GOOS=windows GOARCH=${arch} CGO_ENABLED=0 go build -o ./build/${project_name}-win32-${arch}.exe
mkdir -p npm/win32-${arch}
cp -r ./build/${project_name}-win32-${arch}.exe npm/win32-${arch}/${project_name}.exe
PublishAndGeneratePackageJson "win32" "${arch}" "npm/win32-${arch}"
Expand All @@ -167,7 +167,7 @@ BuildRelease() {

for arch in ${mac_archs[@]}
do
env GOOS=darwin GOARCH=${arch} go build -o ./build/${project_name}-darwin-${arch}
env GOOS=darwin GOARCH=${arch} CGO_ENABLED=0 go build -o ./build/${project_name}-darwin-${arch}
mkdir -p npm/darwin-${arch}/bin
cp -r ./build/${project_name}-darwin-${arch} npm/darwin-${arch}/bin/${project_name}
PublishAndGeneratePackageJson "darwin" "${arch}" "npm/darwin-${arch}"
Expand Down