Skip to content

Commit

Permalink
Update icbundle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbaker authored Aug 8, 2023
1 parent e35105d commit fbc41e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/icbundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fbc41e2

Please sign in to comment.