diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 883a4629160..42dae1df3b0 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -20,7 +20,10 @@ jobs: - uses: actions/checkout@v2 with: persist-credentials: false - depth: 0 + # Needed to run `git describe` to get full version info + fetch-depth: 0 + # Get the tags as well + - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - uses: actions/setup-node@v2 with: node-version: '14.x'