Skip to content

Commit cf0bb45

Browse files
tiannYlarod
authored andcommitted
release v3.0.0
1 parent 84b3f49 commit cf0bb45

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ endif
4848
# Calculate version if git version is available
4949
ifdef KSU_GIT_VERSION_VALID
5050
# ksu_version: major * 10000 + git version + 200 for historical reasons
51-
$(eval KSU_VERSION=$(shell expr 20000 + $(KSU_GIT_VERSION)))
51+
$(eval KSU_VERSION=$(shell expr 30000 + $(KSU_GIT_VERSION)))
5252
$(info -- KernelSU version: $(KSU_VERSION))
5353
ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
5454
else

manager/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ fun getGitDescribe(): String {
4949

5050
fun getVersionCode(): Int {
5151
val commitCount = getGitCommitCount()
52-
val major = 2
53-
return major * 10000 + commitCount
52+
return 30000 + commitCount
5453
}
5554

5655
fun getVersionName(): String {
@@ -87,4 +86,4 @@ subprojects {
8786
}
8887
}
8988
}
90-
}
89+
}

userspace/ksud/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
1515
.trim()
1616
.parse()
1717
.map_err(|_| std::io::Error::other("Failed to parse git count"))?;
18-
let version_code = 20000 + version_code;
18+
let version_code = 30000 + version_code;
1919

2020
let version_name = String::from_utf8(
2121
Command::new("git")

0 commit comments

Comments
 (0)