Skip to content

Commit ffdfb1f

Browse files
authored
Fix release - notes
Signed-off-by: Damian Perera <15967502+damianperera@users.noreply.github.com>
1 parent 5aec6a1 commit ffdfb1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
latestUpstreamRepoCommit=$(cd wulfy && git log -1 --pretty=%B)
5757
latestUpstreamRepoCommitId=$(cd wulfy && git rev-parse --short HEAD)
5858
baseFileName=${{ env.baseFileName }}
59-
echo "**release type:** \`$GITHUB_EVENT_NAME\`" > CHANGELOG.txt
60-
echo "**base:** \`${baseFileName%.img}\`" >> CHANGELOG.txt
61-
[[ "${baseFileName}" == *fac* ]] && echo "**type:** `factory`" >> CHANGELOG.txt || [[ "${baseFileName}" == *sys* ]] && echo "**type:** `sysupgrade`" >> CHANGELOG.txt
59+
echo "**build type:** \`$GITHUB_EVENT_NAME\`" > CHANGELOG.txt
60+
echo "**base:** \`${baseFileName}.img\`" >> CHANGELOG.txt
61+
[[ "${baseFileName}" == *fac ]] && echo "**release type:** \`factory\`" >> CHANGELOG.txt || [[ "${baseFileName}" == *sys ]] && echo "**release type:** \`sysupgrade\`" >> CHANGELOG.txt
6262
echo "**[wulfy/rpi4](https://github.com/wulfy23/rpi4) changes:** \`$latestUpstreamRepoCommit\` on commit [$latestUpstreamRepoCommitId](https://github.com/wulfy23/rpi4/commit/$latestUpstreamRepoCommitId)" >> CHANGELOG.txt
6363
echo "**[damianperera/openwrt-rpi](https://github.com/damianperera/openwrt-rpi) changes:** \`$latestDownstreamRepoCommit\` on commit [$latestDownstreamRepoCommitId](https://github.com/damianperera/openwrt-rpi/commit/$latestDownstreamRepoCommitId)" >> CHANGELOG.txt
6464
[[ -z "${{ github.event.inputs.releaseNotes }}" ]] && echo No custom release notes || echo "### Release Notes" >> CHANGELOG.txt && echo ${{ github.event.inputs.releaseNotes }} >> CHANGELOG.txt

0 commit comments

Comments
 (0)