diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69c4e658..8cdb1de5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,9 @@ jobs: - name: Pack packages run: | - git fetch; + git fetch --unshallow; + git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"; + git fetch origin; $LastTag = git describe --tags; echo "Last tag is: $LastTag"; $Version = ($LastTag).TrimStart('v');