We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de1e08 commit 19b5885Copy full SHA for 19b5885
.github/workflows/build.yml
@@ -95,8 +95,11 @@ jobs:
95
curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next
96
#cd ./KernelSU-Next/kernel
97
#sed -i 's/ccflags-y += -DKSU_VERSION=16/ccflags-y += -DKSU_VERSION=12000/' ./Makefile
98
- KSU_VERSION=$(cd ./KernelSU-Next/kernel && git describe --tags --abbrev=0)
99
- echo "KSUVER=${KSU_VERSION}" >> $GITHUB_ENV
+ git submodule update --init --recursive
+ cd KernelSU-Next/kernel
100
+ KSU_VERSION=$(expr $(/usr/bin/git rev-list --count HEAD) "+" 10200)
101
+ echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
102
+ sed -i "s/DKSU_VERSION=11998/DKSU_VERSION=${KSU_VERSION}/" Makefile
103
104
- name: Apply SUSFS Patches
105
run: |
0 commit comments