@@ -13,7 +13,7 @@ script:
1313- env GOOS=windows GOARCH=386 go build -mod vendor -ldflags="-s -w"
1414- mkdir win32
1515- ln dnscrypt-proxy.exe win32/
16- - cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt win32/
16+ - cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt win32/
1717- for i in win32/LICENSE win32/*.toml win32/*.txt; do ex -bsc '%!awk "{sub(/$/,\"\r\")}1"'
1818 -cx "$i"; done
1919- ln ../windows/* win32/
@@ -23,7 +23,7 @@ script:
2323- env GOOS=windows GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
2424- mkdir win64
2525- ln dnscrypt-proxy.exe win64/
26- - cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt win64/
26+ - cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt win64/
2727- for i in win64/LICENSE win64/*.toml win64/*.txt; do ex -bsc '%!awk "{sub(/$/,\"\r\")}1"'
2828 -cx "$i"; done
2929- ln ../windows/* win64/
@@ -33,133 +33,133 @@ script:
3333- env GO386=387 GOOS=openbsd GOARCH=386 go build -mod vendor -ldflags="-s -w"
3434- mkdir openbsd-i386
3535- ln dnscrypt-proxy openbsd-i386/
36- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt openbsd-i386/
36+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt openbsd-i386/
3737- tar czpvf dnscrypt-proxy-openbsd_i386-${TRAVIS_TAG:-dev}.tar.gz openbsd-i386
3838
3939- go clean
4040- env GOOS=openbsd GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
4141- mkdir openbsd-amd64
4242- ln dnscrypt-proxy openbsd-amd64/
43- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt openbsd-amd64/
43+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt openbsd-amd64/
4444- tar czpvf dnscrypt-proxy-openbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz openbsd-amd64
4545
4646- go clean
4747- env GOOS=freebsd GOARCH=386 go build -mod vendor -ldflags="-s -w"
4848- mkdir freebsd-i386
4949- ln dnscrypt-proxy freebsd-i386/
50- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt freebsd-i386/
50+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt freebsd-i386/
5151- tar czpvf dnscrypt-proxy-freebsd_i386-${TRAVIS_TAG:-dev}.tar.gz freebsd-i386
5252
5353- go clean
5454- env GOOS=freebsd GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
5555- mkdir freebsd-amd64
5656- ln dnscrypt-proxy freebsd-amd64/
57- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt freebsd-amd64/
57+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt freebsd-amd64/
5858- tar czpvf dnscrypt-proxy-freebsd_amd64-${TRAVIS_TAG:-dev}.tar.gz freebsd-amd64
5959
6060- go clean
6161- env GOOS=freebsd GOARCH=arm go build -mod vendor -ldflags="-s -w"
6262- mkdir freebsd-arm
6363- ln dnscrypt-proxy freebsd-arm/
64- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt freebsd-arm/
64+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt freebsd-arm/
6565- tar czpvf dnscrypt-proxy-freebsd_arm-${TRAVIS_TAG:-dev}.tar.gz freebsd-arm
6666
6767- go clean
6868- env GOOS=freebsd GOARCH=arm GOARM=7 go build -mod vendor -ldflags="-s -w"
6969- mkdir freebsd-armv7
7070- ln dnscrypt-proxy freebsd-armv7/
71- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt freebsd-armv7/
71+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt freebsd-armv7/
7272- tar czpvf dnscrypt-proxy-freebsd_armv7-${TRAVIS_TAG:-dev}.tar.gz freebsd-armv7
7373
7474- go clean
7575- env GOOS=dragonfly GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
7676- mkdir dragonflybsd-amd64
7777- ln dnscrypt-proxy dragonflybsd-amd64/
78- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt dragonflybsd-amd64/
78+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt dragonflybsd-amd64/
7979- tar czpvf dnscrypt-proxy-dragonflybsd_amd64-${TRAVIS_TAG:-dev}.tar.gz dragonflybsd-amd64
8080
8181- go clean
8282- env GOOS=netbsd GOARCH=386 go build -mod vendor -ldflags="-s -w"
8383- mkdir netbsd-i386
8484- ln dnscrypt-proxy netbsd-i386/
85- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt netbsd-i386/
85+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt netbsd-i386/
8686- tar czpvf dnscrypt-proxy-netbsd_i386-${TRAVIS_TAG:-dev}.tar.gz netbsd-i386
8787
8888- go clean
8989- env GOOS=netbsd GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
9090- mkdir netbsd-amd64
9191- ln dnscrypt-proxy netbsd-amd64/
92- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt netbsd-amd64/
92+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt netbsd-amd64/
9393- tar czpvf dnscrypt-proxy-netbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz netbsd-amd64
9494
9595- go clean
9696- env GOOS=solaris GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
9797- mkdir solaris-amd64
9898- ln dnscrypt-proxy solaris-amd64/
99- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt solaris-amd64/
99+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt solaris-amd64/
100100- tar czpvf dnscrypt-proxy-solaris_amd64-${TRAVIS_TAG:-dev}.tar.gz solaris-amd64
101101
102102- go clean
103103- env CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -mod vendor -ldflags="-s -w"
104104- mkdir linux-i386
105105- ln dnscrypt-proxy linux-i386/
106- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-i386/
106+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-i386/
107107- tar czpvf dnscrypt-proxy-linux_i386-${TRAVIS_TAG:-dev}.tar.gz linux-i386
108108
109109- go clean
110110- env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
111111- mkdir linux-x86_64
112112- ln dnscrypt-proxy linux-x86_64/
113- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-x86_64/
113+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-x86_64/
114114- tar czpvf dnscrypt-proxy-linux_x86_64-${TRAVIS_TAG:-dev}.tar.gz linux-x86_64
115115
116116- go clean
117117- env CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -mod vendor -ldflags="-s -w"
118118- mkdir linux-arm
119119- ln dnscrypt-proxy linux-arm/
120- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-arm/
120+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-arm/
121121- tar czpvf dnscrypt-proxy-linux_arm-${TRAVIS_TAG:-dev}.tar.gz linux-arm
122122
123123- go clean
124124- env CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -mod vendor -ldflags="-s -w"
125125- mkdir linux-arm64
126126- ln dnscrypt-proxy linux-arm64/
127- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-arm64/
127+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-arm64/
128128- tar czpvf dnscrypt-proxy-linux_arm64-${TRAVIS_TAG:-dev}.tar.gz linux-arm64
129129
130130- go clean
131131- env CGO_ENABLED=0 GOOS=linux GOARCH=mips GOMIPS=softfloat go build -mod vendor -ldflags="-s -w"
132132- mkdir linux-mips
133133- ln dnscrypt-proxy linux-mips/
134- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-mips/
134+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-mips/
135135- tar czpvf dnscrypt-proxy-linux_mips-${TRAVIS_TAG:-dev}.tar.gz linux-mips
136136
137137- go clean
138138- env CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -mod vendor -ldflags="-s -w"
139139- mkdir linux-mipsle
140140- ln dnscrypt-proxy linux-mipsle/
141- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-mipsle/
141+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-mipsle/
142142- tar czpvf dnscrypt-proxy-linux_mipsle-${TRAVIS_TAG:-dev}.tar.gz linux-mipsle
143143
144144- go clean
145145- env CGO_ENABLED=0 GOOS=linux GOARCH=mips64 go build -mod vendor -ldflags="-s -w"
146146- mkdir linux-mips64
147147- ln dnscrypt-proxy linux-mips64/
148- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-mips64/
148+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-mips64/
149149- tar czpvf dnscrypt-proxy-linux_mips64-${TRAVIS_TAG:-dev}.tar.gz linux-mips64
150150
151151- go clean
152152- env CGO_ENABLED=0 GOOS=linux GOARCH=mips64le go build -mod vendor -ldflags="-s -w"
153153- mkdir linux-mips64le
154154- ln dnscrypt-proxy linux-mips64le/
155- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt linux-mips64le/
155+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-mips64le/
156156- tar czpvf dnscrypt-proxy-linux_mips64le-${TRAVIS_TAG:-dev}.tar.gz linux-mips64le
157157
158158- go clean
159159- env GOOS=darwin GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
160160- mkdir macos
161161- ln dnscrypt-proxy macos/
162- - ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt macos/
162+ - ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt macos/
163163- tar czpvf dnscrypt-proxy-macos-${TRAVIS_TAG:-dev}.tar.gz macos
164164
165165- go clean
@@ -168,7 +168,7 @@ script:
168168 GOOS=android GOARCH=arm GOARM=7 go build -mod vendor -ldflags="-s -w"
169169- mkdir android-arm
170170- ln dnscrypt-proxy android-arm/
171- - cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt android-arm/
171+ - cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt android-arm/
172172- zip -9 -r dnscrypt-proxy-android_arm-${TRAVIS_TAG:-dev}.zip android-arm
173173
174174- go clean
@@ -177,7 +177,7 @@ script:
177177 GOOS=android GOARCH=arm64 go build -mod vendor -ldflags="-s -w"
178178- mkdir android-arm64
179179- ln dnscrypt-proxy android-arm64/
180- - cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt android-arm64/
180+ - cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt android-arm64/
181181- zip -9 -r dnscrypt-proxy-android_arm64-${TRAVIS_TAG:-dev}.zip android-arm64
182182
183183- go clean
@@ -186,7 +186,7 @@ script:
186186 GOARCH=386 go build -mod vendor -ldflags="-s -w"
187187- mkdir android-i386
188188- ln dnscrypt-proxy android-i386/
189- - cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt android-i386/
189+ - cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt android-i386/
190190- zip -9 -r dnscrypt-proxy-android_i386-${TRAVIS_TAG:-dev}.zip android-i386
191191
192192- go clean
@@ -195,7 +195,7 @@ script:
195195 GOOS=android GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
196196- mkdir android-x86_64
197197- ln dnscrypt-proxy android-x86_64/
198- - cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt android-x86_64/
198+ - cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt android-x86_64/
199199- zip -9 -r dnscrypt-proxy-android_x86_64-${TRAVIS_TAG:-dev}.zip android-x86_64
200200
201201after_success :
0 commit comments