mirror of
https://github.com/progsource/maddy.git
synced 2026-03-25 07:50:39 +01:00
chore: fetch tags in the release job
This commit is contained in:
1
.github/workflows/create-release-package.yml
vendored
1
.github/workflows/create-release-package.yml
vendored
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user