Commit ffdfb1f 1 parent 5aec6a1 commit ffdfb1f Copy full SHA for ffdfb1f
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 56
56
latestUpstreamRepoCommit=$(cd wulfy && git log -1 --pretty=%B)
57
57
latestUpstreamRepoCommitId=$(cd wulfy && git rev-parse --short HEAD)
58
58
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
62
62
echo "**[wulfy/rpi4](https://github.com/wulfy23/rpi4) changes:** \`$latestUpstreamRepoCommit\` on commit [$latestUpstreamRepoCommitId](https://github.com/wulfy23/rpi4/commit/$latestUpstreamRepoCommitId)" >> CHANGELOG.txt
63
63
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
64
64
[[ -z "${{ github.event.inputs.releaseNotes }}" ]] && echo No custom release notes || echo "### Release Notes" >> CHANGELOG.txt && echo ${{ github.event.inputs.releaseNotes }} >> CHANGELOG.txt
You can’t perform that action at this time.
0 commit comments