diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f37518e..31135064 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,7 +67,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');