parent
434d3f037a
commit
0b8cc02963
2 changed files with 10 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
VERSION=${DRONE_BUILD_NUMBER}
|
||||
CGO_ENABLED=0 GOOS=linux go build -v -a -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o db db.go
|
||||
CGO_ENABLED=0 GOOS=linux go build -v -a -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o srv srv.go
|
||||
CGO_ENABLED=0 GOOS=linux go build -v -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o db db.go
|
||||
CGO_ENABLED=0 GOOS=linux go build -v -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o srv srv.go
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue