mirror of
https://github.com/progsource/maddy.git
synced 2026-03-24 23:40:39 +01:00
ci: add more output to the release workflow
This commit is contained in:
6
.github/workflows/create-release-package.yml
vendored
6
.github/workflows/create-release-package.yml
vendored
@@ -29,10 +29,12 @@ jobs:
|
|||||||
id: tag-message
|
id: tag-message
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=${GITHUB_REF#refs/tags/}
|
TAG_NAME=${GITHUB_REF#refs/tags/}
|
||||||
TAG_MESSAGE=$(git tag -l --format='%(contents)' $TAG_NAME)
|
echo "TAG_NAME: $TAG_NAME"
|
||||||
|
TAG_MESSAGE=$(git tag -l --format='%(contents)' "$TAG_NAME")
|
||||||
echo "message<<EOF" >> $GITHUB_OUTPUT
|
echo "message<<EOF" >> $GITHUB_OUTPUT
|
||||||
echo "$TAG_MESSAGE" >> $GITHUB_OUTPUT
|
echo "$TAG_MESSAGE" >> $GITHUB_OUTPUT
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
|
echo "TAG_MESSAGE: $TAG_MESSAGE"
|
||||||
|
|
||||||
- name: create release
|
- name: create release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
@@ -40,7 +42,7 @@ jobs:
|
|||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: build/maddy-src.zip
|
file: build/maddy-src.zip
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
release_name: ${{ github.ref }}
|
release_name: ${{ github.ref_name }}
|
||||||
body: |
|
body: |
|
||||||
${{ steps.tag-message.outputs.message }}
|
${{ steps.tag-message.outputs.message }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user