浏览代码

workflow: force fetch all tags in release action

Evan You 1 年之前
父节点
当前提交
29e4a1109a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/release.yml

+ 1 - 0
.github/workflows/release.yml

@@ -43,6 +43,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           ref: ${{ inputs.branch }}
+          fetch-depth: 0 # need this to get tags for changelog generation
 
       - name: Install pnpm
         uses: pnpm/action-setup@v4