diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cad24a2c3..722a74d9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - run: git checkout HEAD^ + - run: | + git fetch --prune --unshallow --tags - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1