@@ -278,27 +278,6 @@ jobs:
278278 REPO_NAME : ${{ github.event.repository.name }}
279279 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
280280 RELEASE_NAME : " *TEST BUILD* OnePlus Kernels With KernelSU Next & SUSFS v1.5.9 *TEST BUILD*"
281- RELEASE_NOTES : |
282- This release contains KernelSU Next and SUSFS v1.5.9
283-
284- Module:
285- -> https://github.com/sidex15/ksu_module_susfs
286-
287- Non-Official Managers:
288- -> https://github.com/KernelSU-Next/KernelSU-Next
289-
290- Features:
291- [+] KernelSU-Next
292- [+] SUSFS v1.5.9
293- [+] Wireguard Support
294- [+] Maphide LineageOS Detections
295- [+] Futile Maphide for jit-zygote-cache Detections
296- [+] Magic Mount Support
297- [+] Ptrace message leak fix for kernels < 5.16
298- [+] Manual Hooks [scope_min_manual_hooks_v1.4]
299- [+] CONFIG_TMPFS_XATTR Support [Mountify Support]
300- [+] BBR v1 Support.
301- [+] HMBIRD scx support for OnePlus 13 & OnePlus Ace 5 Pro.
302281
303282 steps :
304283 - name : Checkout code
@@ -324,19 +303,68 @@ jobs:
324303 with :
325304 path : ./downloaded-artifacts
326305
306+ - name : Generate Device List and Final Release Notes
307+ id : generate-notes
308+ run : |
309+ echo "=== Start building the release notes ==="
310+ cat << EOF > release_notes.md
311+ This release contains KernelSU Next and SUSFS v1.5.9
312+
313+ Module:
314+ -> https://github.com/sidex15/ksu_module_susfs
315+
316+ Non-Official Managers:
317+ -> https://github.com/KernelSU-Next/KernelSU-Next
318+
319+ ### Built Devices
320+
321+ | Model | Kernel Version |
322+ |-------|----------------|
323+ EOF
324+
325+ # === Generate table rows ===
326+ while IFS= read -r file; do
327+ if [ -f "$file" ]; then
328+ model=$(basename "$file" .txt)
329+ version=$(cat "$file")
330+ printf "| %-7s | %-16s |\n" "$model" "$version" >> release_notes.md
331+ fi
332+ done < <(find downloaded-artifacts -name "*.txt" -type f | sort)
333+
334+ # === Add features and finalize ===
335+ cat << 'EOF' >> release_notes.md
336+
337+ ### Features
338+ - [+] KernelSU-Next
339+ - [+] SUSFS v1.5.9
340+ - [+] Wireguard Support
341+ - [+] Maphide LineageOS Detections
342+ - [+] Futile Maphide for jit-zygote-cache Detections
343+ - [+] Magic Mount Support
344+ - [+] Ptrace message leak fix for kernels < 5.16
345+ - [+] Manual Hooks [scope_min_manual_hooks_v1.4]
346+ - [+] CONFIG_TMPFS_XATTR Support [Mountify Support]
347+ - [+] BBR v1 Support.
348+ - [+] HMBIRD scx support for OnePlus 13 & OnePlus Ace 5 Pro.
349+ EOF
350+
351+ # === Output for debugging ===
352+ echo "--- Final Release Notes ---"
353+ cat release_notes.md
354+
327355 - name : Create GitHub Release
328- uses : actions/create-release@v1
329- with :
330- tag_name : ${{ env.NEW_TAG }}
331- prerelease : true
332- release_name : ${{ env.RELEASE_NAME }}
333- body : ${{ env.RELEASE_NOTES }}
356+ run : |
357+ gh release create "${{ env.NEW_TAG }}" \
358+ --repo " ${{ env.REPO_OWNER }}/${{ env.REPO_NAME }}" \
359+ --title "${{ env.RELEASE_NAME }}" \
360+ --notes-file release_notes.md \
361+ --prerelease
334362 env :
335- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
363+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
336364
337365 - name : Upload Release Assets Dynamically
338366 run : |
339- for file in ./downloaded-artifacts/kernel-*/*; do
367+ for file in ./downloaded-artifacts/kernel-*/*.zip ; do
340368 if [ -d "$file" ]; then
341369 continue
342370 fi
0 commit comments