From 3b451e6a6c13b396fab6a1f22fc5a7ff95327bf2 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Fri, 20 Dec 2024 14:51:43 +0200 Subject: [PATCH] fix --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4a4ec84..7fe595a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,9 +55,8 @@ jobs: echo "ERROR: Not found 'tip' section in CHANGELOG. Please add relavant entries and recreate git tag" exit 1 fi - export NOTES="$(sed -n '/## tip/,/## /p' CHANGELOG.md | sed -e '$d' -e '1d')" - sed -i 's/## tip/&\n\n## ${{ env.PKG_TAG }}/' CHANGELOG.md - echo $NOTES > NOTES.md + sed -n '/## tip/,/## /p' CHANGELOG.md | sed -e '$d' -e '1d' > NOTES.md + sed -i 's/## tip/&\n\n## '${PKG_TAG}'/' CHANGELOG.md make vl-plugin-check git tag ${TAG} git push origin ${TAG}