diff --git a/build/azure-pipelines/publish-types/publish-types.yml b/build/azure-pipelines/publish-types/publish-types.yml index 17514be49d14e5c6c4221b9ebfbe6f048e8812ee..ea93c0b2b2569533b47f79d6041433f5bf63d247 100644 --- a/build/azure-pipelines/publish-types/publish-types.yml +++ b/build/azure-pipelines/publish-types/publish-types.yml @@ -23,7 +23,7 @@ steps: git config --global user.email "vscode@microsoft.com" git config --global user.name "VSCode" - git clone https://$(GITHUB_TOKEN)@github.com/DefinitelyTyped/DefinitelyTyped.git + git clone https://$(GITHUB_TOKEN)@github.com/DefinitelyTyped/DefinitelyTyped.git --depth=1 node build/azure-pipelines/publish-types/update-types.js TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)