From fbc41e232f5872bf9471e25bb8d13db3b8575caa Mon Sep 17 00:00:00 2001 From: dzbaker Date: Tue, 8 Aug 2023 16:32:14 -0400 Subject: [PATCH] Update icbundle.yml --- .github/workflows/icbundle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/icbundle.yml b/.github/workflows/icbundle.yml index 3dd811cb7..1c861009c 100644 --- a/.github/workflows/icbundle.yml +++ b/.github/workflows/icbundle.yml @@ -48,7 +48,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | rev_num=$(git rev-list v7.0.0-rc4.. --count) - changelog_entry=$' Changelog\\n\\n## Development Build: v7.0.0-rc4+dev'${rev_num} + changelog_entry=$'# Changelog\\n\\n## Development Build: v7.0.0-rc4+dev'${rev_num} prs=$(echo ${{ inputs.pr_nums }} | tr "," "\n") see_entry=$'\-\ See:' for pr in $prs @@ -59,7 +59,7 @@ jobs: done changelog_entry="${changelog_entry}\n${see_entry}\n" echo awk 'NR==1,/Changelog/{sub(/Changelog/, $changelog_entry)} 1' CHANGELOG.md - awk 'NR==1,/Changelog/{sub(/Changelog/, $changelog_entry)} 1' CHANGELOG.md > CHANGELOG.md + sed -ir "s|# Changelog|$changelog_entry|" CHANGELOG.md buildnumber_entry=$'define CFE_BUILD_NUMBER '${rev_num}$' /**< @brief Development: Number of development git commits since CFE_BUILD_BASELINE */' sed -ir "s|define CFE_BUILD_NUMBER.*|$buildnumber_entry|" modules/core_api/fsw/inc/cfe_version.h