From 3efd846e5ce00117c57674164d63082309e43f59 Mon Sep 17 00:00:00 2001 From: Alexander Stehlik Date: Fri, 12 May 2023 01:14:26 +0200 Subject: [PATCH] [TASK] Try workaround for tag message detection See: https://github.com/orgs/community/discussions/27155#discussioncomment-3254852https://github.com/orgs/community/discussions/27155#discussioncomment-3254852 --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) 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