From 32ccdca069279402ad78dbd4ef4d61c6be2af5dd Mon Sep 17 00:00:00 2001 From: Miguel Chacon Date: Wed, 13 Sep 2023 18:24:14 +0100 Subject: [PATCH] Fix maven-publish --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 7ebf72a..18f2139 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -51,7 +51,7 @@ jobs: MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - name: Update readme.md - run: git pull; sed -i "s/$(git describe --tags --abbrev=0 | cut -c 2-)/${{ github.event.inputs.releaseversion }}/g" README.md + run: git fetch --unshallow; git pull; sed -i "s/$(git describe --tags --abbrev=0 | cut -c 2-)/${{ github.event.inputs.releaseversion }}/g" README.md - uses: stefanzweifel/git-auto-commit-action@v4 with: