@@ -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
@@ -319,20 +298,75 @@ jobs:
319
298
git tag $NEW_TAG
320
299
git push origin $NEW_TAG
321
300
301
+ - name : Download Build Metadata
302
+ uses : actions/download-artifact@v4
303
+ with :
304
+ name : build-metadata
305
+ path : ./build-meta
306
+
307
+ - name : Generate Device List and Final Release Notes
308
+ id : generate-notes
309
+ run : |
310
+ # === Start building the release notes ===
311
+ cat << EOF > release_notes.md
312
+ This release contains KernelSU Next and SUSFS v1.5.9
313
+
314
+ Module:
315
+ -> https://github.com/sidex15/ksu_module_susfs
316
+
317
+ Non-Official Managers:
318
+ -> https://github.com/KernelSU-Next/KernelSU-Next
319
+
320
+ ### Built Devices
321
+
322
+ | Model | Kernel Version |
323
+ |-------|----------------|
324
+ EOF
325
+
326
+ # === Generate table rows ===
327
+ while IFS= read -r file; do
328
+ if [ -f "$file" ]; then
329
+ model=$(basename "$file" .txt)
330
+ version=$(cat "$file")
331
+ printf "| %-7s | %-16s |\n" "$model" "$version" >> release_notes.md
332
+ fi
333
+ done < <(find build-meta -name "*.txt" -type f | sort)
334
+
335
+ # === Add features and finalize ===
336
+ cat << 'EOF' >> release_notes.md
337
+
338
+ ### Features
339
+ - [+] KernelSU-Next
340
+ - [+] SUSFS v1.5.9
341
+ - [+] Wireguard Support
342
+ - [+] Maphide LineageOS Detections
343
+ - [+] Futile Maphide for jit-zygote-cache Detections
344
+ - [+] Magic Mount Support
345
+ - [+] Ptrace message leak fix for kernels < 5.16
346
+ - [+] Manual Hooks [scope_min_manual_hooks_v1.4]
347
+ - [+] CONFIG_TMPFS_XATTR Support [Mountify Support]
348
+ - [+] BBR v1 Support.
349
+ - [+] HMBIRD scx support for OnePlus 13 & OnePlus Ace 5 Pro.
350
+ EOF
351
+
352
+ # === Output for debugging ===
353
+ echo "--- Final Release Notes ---"
354
+ cat release_notes.md
355
+
322
356
- name : Download Artifacts
323
357
uses : actions/download-artifact@v4
324
358
with :
325
359
path : ./downloaded-artifacts
326
360
327
- - 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 }}
334
- env :
335
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
361
+ - name : Create GitHub Release
362
+ run : |
363
+ gh release create "${{ env.NEW_TAG }}" \
364
+ --repo " ${{ env.REPO_OWNER }}/${{ env.REPO_NAME }}" \
365
+ --title "${{ env.RELEASE_NAME }}" \
366
+ --notes-file release_notes.md \
367
+ --prerelease
368
+ env :
369
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
336
370
337
371
- name : Upload Release Assets Dynamically
338
372
run : |
0 commit comments