workflow: force fetch all tags in release action

This commit is contained in:
Evan You 2024-08-07 22:31:31 +08:00
parent e0428884b5
commit 29e4a1109a
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
1 changed files with 1 additions and 0 deletions

View File

@ -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