提交 7082724c 编写于 作者: P Pine Wu

Depth 1 for cloning DT

上级 bdadf081
...@@ -23,7 +23,7 @@ steps: ...@@ -23,7 +23,7 @@ steps:
git config --global user.email "vscode@microsoft.com" git config --global user.email "vscode@microsoft.com"
git config --global user.name "VSCode" 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 node build/azure-pipelines/publish-types/update-types.js
TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册