Skip to content

Commit

Permalink
fix changes description in release 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jriguera committed Aug 26, 2020
1 parent 7c47ae3 commit 7afe8f7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
tag=$(git describe --abbrev=0 --tags)
prevtag=$(git describe --abbrev=0 --tags "${tag}^")
changes=$(git log --pretty="%h %aI %s (%an)" "${prevtag}..${tag}" | sed 's/^/- /')
description=$(cat <<EOF
cat <<EOF > description.md
# $RELEASE version ${{needs.build.outputs.version}} (build tag: ${tag})
$TITLE
Expand All @@ -86,8 +86,7 @@ jobs:
$changes
EOF
)
echo ::set-output name=description::$(echo ${description})
echo ::set-output name=description::$(cat description.md)
echo ::set-output name=release::$(echo ${RELEASE})
echo ::set-output name=name::$(echo ${TITLE} version ${{needs.build.outputs.version}})
echo ::set-output name=tag::$(echo ${tag})
Expand All @@ -99,8 +98,7 @@ jobs:
with:
tag_name: ${{steps.release.outputs.tag}}
release_name: ${{steps.release.outputs.name}}
body: |
${{steps.release.outputs.description}}
body_path: description.md
draft: false
prerelease: false

0 comments on commit 7afe8f7

Please sign in to comment.