Skip to content

Commit

Permalink
support static&dynamic link release
Browse files Browse the repository at this point in the history
  • Loading branch information
stou committed Apr 7, 2019
1 parent ce8e3d2 commit c074db5
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
build:
binary: supervisord
goos:
- linux
- darwin
goarch:
- amd64
ldflags:
- "-linkmode external -extldflags -static"
builds:
-
binary: supervisord_static
goos:
- linux
- darwin
goarch:
- amd64
ldflags:
- "-linkmode external -extldflags -static"
-
binary: supervisord
goos:
- linux
- darwin
goarch:
- amd64
archive:
format: binary
snapshot:
Expand Down

0 comments on commit c074db5

Please sign in to comment.