Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: include vendor tar ball in release and fix startdev

Nick Craig-Wood7e2488af10b3
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