diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eb8dbf0b..a5c664a1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -81,7 +81,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + - run: git fetch --prune --unshallow - name: Set version run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF/refs\/tags\//}