diff --git a/.github/workflows/auto-create-release.yml b/.github/workflows/auto-create-release.yml index 041a47124d..276c729eba 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}/,/