Skip to content

Commit

Permalink
Merge pull request #991 from AkihiroSuda/upload-go-mod-vendor
Browse files Browse the repository at this point in the history
CI: upload go-mod-vendor.tar.gz as a backup
  • Loading branch information
AkihiroSuda committed Apr 15, 2022
2 parents f92bae5 + bc66bfa commit 7c59d5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
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 7c59d5d

Please sign in to comment.