Check out depth of 1 when deploying

This commit is contained in:
JC Brand 2023-06-25 11:15:46 +02:00
parent 699ab71f21
commit 4f14d50f5d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ postrelease:
.PHONY: deploy
deploy:
git clone --branch v$(VERSION) git@github.com:conversejs/converse.js.git $(VERSION)
git clone --branch --depth 1 v$(VERSION) git@github.com:conversejs/converse.js.git $(VERSION)
cd $(VERSION) && make node && ASSET_PATH=https://cdn.conversejs.org/$(VERSION)/dist/ make dist && make doc
cd .. && git pull && make node && ASSET_PATH=https://cdn.conversejs.org/dist/ make dist && make doc