Skip to content

Commit

Permalink
CI: upload go-mod-vendor.tar.gz as a backup
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Apr 15, 2022
1 parent 3b864cf commit b0dcbb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ nerdctl:
clean:
find . -name \*~ -delete
find . -name \#\* -delete
rm -rf _output/*
rm -rf _output/* vendor

binaries: nerdctl

Expand Down Expand Up @@ -95,6 +95,9 @@ artifacts: clean
$(call make_artifact_full_linux,amd64)
$(call make_artifact_full_linux,arm64)

go mod vendor
tar $(TAR_FLAGS) -czf $(CURDIR)/_output/nerdctl-$(VERSION_TRIMMED)-go-mod-vendor.tar.gz go.mod go.sum vendor

.PHONY: \
help \
nerdctl \
Expand Down

0 comments on commit b0dcbb4

Please sign in to comment.