From 810186307308924aad1b83e879df30d61ce74e79 Mon Sep 17 00:00:00 2001 From: Balackburn <93828569+Balackburn@users.noreply.github.com> Date: Tue, 4 Jul 2023 02:43:36 +0200 Subject: [PATCH] fix Prepare Release Notes --- .github/workflows/buildapp.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index 4ca8e2d..062a713 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -144,11 +144,10 @@ jobs: - name: Prepare Release Notes run: | export TODAY=$(date '+%Y-%m-%d') - mkdir -p .github - sed -e "s/%CERCUBE_VERSION%/${{ inputs.cercube_version }}/g" \ - -e "s/%YOUTUBE_VERSION%/${{ inputs.youtube_version }}/g" \ - -e "s/%DATE%/${TODAY}/g" \ - .github/RELEASE_TEMPLATE/Release.md > .github/release_notes.md + echo "$(sed -e "s/%CERCUBE_VERSION%/${{ inputs.cercube_version }}/g" \ + -e "s/%YOUTUBE_VERSION%/${{ inputs.youtube_version }}/g" \ + -e "s/%DATE%/${TODAY}/g" \ + .github/RELEASE_TEMPLATE/Release.md)" > ${{ github.workspace }}/release_notes.md - name: Create Release id: create_release @@ -163,7 +162,7 @@ jobs: name: v${{ env.YOUTUBE_VERSION }}-${{ env.ytliteplus_version }}-(${{ github.run_number }}) files: main/packages/*.ipa draft: ${{ env.DRAFT }} - body_path: .github/release_notes.md + body_path: ${{ github.workspace }}/release_notes.md