From f437ad6473562025ec2134805709390e000a0f5a Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Sun, 16 Oct 2022 11:08:20 +0200 Subject: [PATCH] :green_heart: Fix auto release actions --- .github/workflows/auto-create-release.yml | 11 +++++++++-- .github/workflows/auto-create-tags.yml | 21 ++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/auto-create-release.yml b/.github/workflows/auto-create-release.yml index 041a47124..276c729eb 100644 --- a/.github/workflows/auto-create-release.yml +++ b/.github/workflows/auto-create-release.yml @@ -12,15 +12,22 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + - name: Extract body from changelog + id: extract + run: | + NEW_VERSION=$(echo '${{ github.ref }}' | sed 's/refs\/tags\/v//') + echo $NEW_VERSION + RELEASE_BODY=$(sed -n -e "/## ${NEW_VERSION}/,/