Makefile: clean up FreeBSD/amd64 nerdctl

FreeBSD/amd64 version of `nerdctl` binary was not cleaned up and
was accidentally included in the GitHub artifacts.

Also, unneeded rootless scripts were also included in `nerdctl-0.12.0-freebsd-amd64.tar.gz`

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2021-09-30 21:51:13 +09:00
parent aab5de3ae2
commit bc5e7bb18d
No known key found for this signature in database
GPG Key ID: 49524C6F9F638F1A
1 changed files with 4 additions and 3 deletions

View File

@ -82,10 +82,11 @@ artifacts: clean
GOOS=windows GOARCH=amd64 make -C $(CURDIR) binaries
tar $(TAR_FLAGS) -czvf $(CURDIR)/_output/nerdctl-$(VERSION_TRIMMED)-windows-amd64.tar.gz _output/nerdctl.exe
rm -f $(CURDIR)/_output/nerdctl $(CURDIR)/_output/nerdctl.exe
GOOS=freebsd GOARCH=amd64 make -C $(CURDIR) binaries
tar $(TAR_FLAGS) -czvf $(CURDIR)/_output/nerdctl-$(VERSION_TRIMMED)-freebsd-amd64.tar.gz _output/nerdctl extras/rootless/*
GOOS=freebsd GOARCH=amd64 make -C $(CURDIR) binaries
tar $(TAR_FLAGS) -czvf $(CURDIR)/_output/nerdctl-$(VERSION_TRIMMED)-freebsd-amd64.tar.gz _output/nerdctl
rm -f $(CURDIR)/_output/nerdctl $(CURDIR)/_output/nerdctl.exe
$(call make_artifact_full_linux,amd64)
$(call make_artifact_full_linux,arm64)