From d0194bcdca85e2db5f5e1ac51401bd014ad41df5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 9 Jan 2023 11:18:10 +0800 Subject: [PATCH] chore: fetch tags before run changelog --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b3b59e253..a2e7f6d91a 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "predist": "npm run version", "presite": "npm run version & npm run collect-token-statistic & npm run token-meta", "compile": "npm run clean && antd-tools run compile", - "changelog": "node ./scripts/print-changelog", + "changelog": "git fetch origin && node ./scripts/print-changelog", "predeploy": "antd-tools run clean && npm run site && cp CNAME _site && npm run site:test", "deploy": "gh-pages -d _site -b gh-pages -f", "deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages -f",