Skip to content

Commit

Permalink
fix: update distribution build to trim path
Browse files Browse the repository at this point in the history
  • Loading branch information
irainia committed Nov 23, 2023
1 parent ce070ae commit 2b58ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ for os in ${os_list[*]}; do
for arch in ${arch_list[*]}; do
file_name="${name}_${tag}_${os}-${arch}"
path="${dir_output}/${file_name}"
GOOS=$os GOARCH=$arch go build -o ${path}
GOOS=$os GOARCH=$arch go build -trimpath -o ${path}
done
done

0 comments on commit 2b58ebe

Please sign in to comment.