diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index b3154d9..be4cdd3 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -71,6 +71,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 with: + # This is to guarantee that the most recent tag is fetched, which we + # need for updating the shorthand major version tag. + fetch-depth: 0 ref: ${{ github.sha }} - name: Publish release uses: MetaMask/action-publish-release@v3