From 7e2488af10b316115217dc8246024d3de692d283 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 2 Sep 2020 17:53:05 +0100 Subject: [PATCH] build: include vendor tar ball in release and fix startdev --- Makefile | 7 ++++++- RELEASE.md | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 832a61ed7..bede5d2a6 100644 --- a/Makefile +++ b/Makefile @@ -164,6 +164,11 @@ validate_website: website tarball: git archive -9 --format=tar.gz --prefix=rclone-$(TAG)/ -o build/rclone-$(TAG).tar.gz $(TAG) +vendorball: + go mod vendor + tar -zcf build/rclone-$(TAG)-vendor.tar.gz vendor + rm -rf vendor + sign_upload: cd build && md5sum rclone-v* | gpg --clearsign > MD5SUMS cd build && sha1sum rclone-v* | gpg --clearsign > SHA1SUMS @@ -239,7 +244,7 @@ startdev: echo -e "package fs\n\n// Version of rclone\nvar Version = \"$(NEXT_VERSION)-DEV\"\n" | gofmt > fs/version.go echo -n "$(NEXT_VERSION)" > docs/layouts/partials/version.html echo "$(NEXT_VERSION)" > VERSION - git commit -m "Start $(VERSION)-DEV development" fs/version.go + git commit -m "Start $(NEXT_VERSION)-DEV development" fs/version.go VERSION docs/layouts/partials/version.html winzip: zip -9 rclone-$(TAG).zip rclone.exe diff --git a/RELEASE.md b/RELEASE.md index eeb4d05aa..0f620169d 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -25,6 +25,7 @@ This file describes how to make the various kinds of releases * # Wait for the GitHub builds to complete then... * make fetch_binaries * make tarball + * make vendorball * make sign_upload * make check_sign * make upload