From 672f896a6acd7da220822e72b5cdab96eed38234 Mon Sep 17 00:00:00 2001 From: LordMathis Date: Wed, 31 Jan 2024 12:12:28 +0100 Subject: [PATCH] Fetch tags separately --- .gitea/workflows/tag.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tag.yaml b/.gitea/workflows/tag.yaml index b56d2c6..fc01f71 100644 --- a/.gitea/workflows/tag.yaml +++ b/.gitea/workflows/tag.yaml @@ -12,8 +12,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-tags: true + - name: Fetch tags + run: git fetch --tags origin - name: Get latest git tag id: tag run: echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT