chore: fetch tags in the release job

This commit is contained in:
Petra Baranski
2025-07-26 15:46:00 +02:00
parent 5f1f962e22
commit b2694f263d

View File

@@ -28,6 +28,7 @@ jobs:
- name: Get current tag message - name: Get current tag message
id: tag-message id: tag-message
run: | run: |
git fetch --tags --force
TAG_NAME=${GITHUB_REF#refs/tags/} TAG_NAME=${GITHUB_REF#refs/tags/}
echo "TAG_NAME: $TAG_NAME" echo "TAG_NAME: $TAG_NAME"
TAG_MESSAGE=$(git tag -l --format='%(contents)' "$TAG_NAME") TAG_MESSAGE=$(git tag -l --format='%(contents)' "$TAG_NAME")