Skip to content

Commit

Permalink
Fix creating release from milestone
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensley committed Nov 17, 2020
1 parent cf84ea1 commit 7485b9a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add Milestone Description
run: echo -e "${{ github.event.milestone.description }}\n\n$(cat release_file.md)" > release_file.md
run: |
echo "${{ github.event.milestone.description }}" > release_file_combined.md
echo -e "\n\n" > release_file_combined.md
cat release_file.md > release_file_combined.md
- name: Create Release
id: create_release
Expand All @@ -27,6 +30,6 @@ jobs:
with:
tag_name: ${{ github.event.milestone.title }}
release_name: ${{ github.event.milestone.title }}
body_path: release_file.md
body_path: release_file_combined.md
draft: false
prerelease: false

0 comments on commit 7485b9a

Please sign in to comment.