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 62beaea commit 22fd299Copy full SHA for 22fd299
.github/actions/action.yml
@@ -622,8 +622,15 @@ runs:
622
fi
623
git submodule update --init --recursive
624
cd KernelSU-Next/kernel
625
- BASE_VERSION=10200
626
- KSU_VERSION=$(expr $(/usr/bin/git rev-list --count HEAD) "+" $BASE_VERSION)
+ COMMITS_COUNT=$(/usr/bin/git rev-list --count HEAD)
+
627
+ if [ $COMMITS_COUNT -lt 2684 ]; then
628
+ BASE_VERSION=10200
629
+ else
630
+ BASE_VERSION=30000
631
+ fi
632
633
+ KSU_VERSION=$(expr $COMMITS_COUNT "+" $BASE_VERSION)
634
sed -i "s/DKSU_VERSION=11998/DKSU_VERSION=${KSU_VERSION}/" Makefile
635
636
cd ..
0 commit comments