@@ -278,27 +278,6 @@ jobs:
278
278
REPO_NAME : ${{ github.event.repository.name }}
279
279
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
280
280
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.
302
281
303
282
steps :
304
283
- name : Checkout code
@@ -324,19 +303,68 @@ jobs:
324
303
with :
325
304
path : ./downloaded-artifacts
326
305
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
+
327
355
- 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
334
362
env :
335
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
363
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
336
364
337
365
- name : Upload Release Assets Dynamically
338
366
run : |
339
- for file in ./downloaded-artifacts/kernel-*/*; do
367
+ for file in ./downloaded-artifacts/kernel-*/*.zip ; do
340
368
if [ -d "$file" ]; then
341
369
continue
342
370
fi
0 commit comments