Fix: Remove mod-cache after build

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-10-19 00:51:38 +02:00
parent c6143c2011
commit 2daf8a124c
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -17,6 +17,8 @@ build() {
-a -v \ -a -v \
-ldflags="-X main.version=${pkgver}" \ -ldflags="-X main.version=${pkgver}" \
-mod=readonly -mod=readonly
GO111MODULE=on GOPATH="${srcdir}/go" go clean -modcache
} }
package() { package() {