Skip to content

Create Release

Create Release #19

on:
milestone:
types: [closed]
name: Create Release
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Create Release Notes
uses: docker://decathlon/release-notes-generator-action:2.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add Milestone Description
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
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.milestone.title }}
release_name: ${{ github.event.milestone.title }}
body_path: release_file_combined.md
draft: true
prerelease: false