From 245eaa594846166972241b03fddc61ee5117b1f7 Mon Sep 17 00:00:00 2001 From: AlvaroMarquesAndrade <45604858+AlvaroMarquesAndrade@users.noreply.github.com> Date: Thu, 11 Feb 2021 11:51:04 -0300 Subject: [PATCH] [MLOP-632] Butterfree dev workflow, automate release description (#279) --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ba94bc7e..3620cdbb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,6 +24,10 @@ jobs: - name: Get version run: echo "version=$(grep __version__ setup.py | head -1 | cut -d \" -f2 | cut -d \' -f2)" >> $GITHUB_ENV + - name: Get release notes + id: get_release_notes + uses: ffurrer2/extract-release-notes@v1 + - name: Create release uses: actions/create-release@v1 env: @@ -31,6 +35,7 @@ jobs: with: tag_name: ${{ env.version }} release_name: Release ${{ env.version }} + body: ${{ steps.get_release_notes.outputs.release_notes }} - name: Release already exist if: ${{ failure() }}