mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
Correct filename
This commit is contained in:
parent
8c0ced21b5
commit
32f50c4306
@ -17,7 +17,7 @@ os:
|
||||
env: GO111MODULE=on
|
||||
|
||||
script:
|
||||
- sh scripts/build.sh $TRAVIS_CPU_ARCH
|
||||
- sh scripts/build.sh $TRAVIS_OS_NAME $TRAVIS_CPU_ARCH
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
|
@ -2,7 +2,12 @@
|
||||
|
||||
CGO_ENABLED=0
|
||||
|
||||
go build -v -ldflags "-s -w" -o builds/webp-server-linux-${1}
|
||||
if [ "${1}" == "windows" ]
|
||||
then
|
||||
go build -v -ldflags "-s -w" -o builds/webp-server-${1}-${2}.exe
|
||||
else
|
||||
go build -v -ldflags "-s -w" -o builds/webp-server-${1}-${2}
|
||||
fi
|
||||
|
||||
echo "build done!"
|
||||
ls builds
|
Loading…
x
Reference in New Issue
Block a user