From dd6e9ba2d5149b284499775716dbd7dc5cf28905 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Mon, 3 Jun 2024 21:20:16 +0200 Subject: [PATCH] CI: Properly terminate sed substitute script --- .github/actions/make-release/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/make-release/action.yml b/.github/actions/make-release/action.yml index c90a33e..573e22f 100644 --- a/.github/actions/make-release/action.yml +++ b/.github/actions/make-release/action.yml @@ -11,8 +11,8 @@ runs: - name: Prepare release notes for this release shell: bash run: | - sed -i 's/\$\{COMMIT_HASH\}/${{ github.sha }}' $GITHUB_ACTION_PATH/release-notes.md - sed -i 's/\$\{VERSION_TAG\}/${{ inputs.release-version }}' $GITHUB_ACTION_PATH/release-notes.md + sed -i 's/\$\{COMMIT_HASH\}/${{ github.sha }}/' $GITHUB_ACTION_PATH/release-notes.md + sed -i 's/\$\{VERSION_TAG\}/${{ inputs.release-version }}/' $GITHUB_ACTION_PATH/release-notes.md - name: Create a draft release with custom release notes shell: bash