mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-26 21:21:54 +08:00
chore: use fetch-depth to fetch complete history
Fixes the issue of publishing all commit since inception (see: goreleaser/goreleaser#990)
This commit is contained in:
@@ -22,10 +22,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
# So GoReleaser can generate the changelog properly
|
fetch-depth: 0
|
||||||
- name: Unshallowify the repo clone
|
|
||||||
run: git fetch --prune --unshallow
|
|
||||||
|
|
||||||
# https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight/true#M1027
|
# https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight/true#M1027
|
||||||
- name: Print Go version and environment
|
- name: Print Go version and environment
|
||||||
|
|||||||
Reference in New Issue
Block a user