diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fdd682a..b3cd762 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,6 +28,7 @@ jobs: - name: Get comment id: get-comment run: | + git fetch --depth=1 origin +refs/tags/*:refs/tags/* readonly local comment=$(git tag -l --format='%(contents:subject)' v${{ env.version }} | sed "s/^v[0-9.]*[ ]*//g") if [[ -z "${comment// }" ]]; then