diff --git a/kernel/Makefile b/kernel/Makefile index e640f387..fdb48c8e 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -79,14 +79,14 @@ ifeq ($(KSU_GITHUB_VERSION_COMMIT),) ifeq ($(LOCAL_GIT_EXISTS),1) $(shell cd $(KSU_SRC); [ -f ../.git/shallow ] && $(GIT_BIN) fetch --unshallow) KSU_LOCAL_VERSION := $(shell cd $(KSU_SRC); $(GIT_BIN) rev-list --count $(REPO_BRANCH)) - KSU_VERSION := $(shell expr 10000 + $(KSU_LOCAL_VERSION) + 700) + KSU_VERSION := $(shell expr 20000 + $(KSU_LOCAL_VERSION) + 700) $(info -- $(REPO_NAME) version (local .git): $(KSU_VERSION)) else KSU_VERSION := 13000 $(warning -- Could not fetch version online or via local .git! Using fallback version: $(KSU_VERSION)) endif else - KSU_VERSION := $(shell expr 10000 + $(KSU_GITHUB_VERSION_COMMIT) + 700) + KSU_VERSION := $(shell expr 20000 + $(KSU_GITHUB_VERSION_COMMIT) + 700) $(info -- $(REPO_NAME) version (GitHub): $(KSU_VERSION)) endif diff --git a/manager/build.gradle.kts b/manager/build.gradle.kts index 5ce8f979..babbbfce 100644 --- a/manager/build.gradle.kts +++ b/manager/build.gradle.kts @@ -32,7 +32,7 @@ val androidCompileSdkVersion = 36 val androidCompileNdkVersion = "29.0.14206865" val androidSourceCompatibility = JavaVersion.VERSION_21 val androidTargetCompatibility = JavaVersion.VERSION_21 -val managerVersionCode by extra(1 * 10000 + getGitCommitCount() + 700) +val managerVersionCode by extra(2 * 10000 + getGitCommitCount() + 700) val managerVersionName by extra(getGitDescribe()) fun getGitCommitCount(): Int { diff --git a/userspace/ksud/build.rs b/userspace/ksud/build.rs index 22a12b10..ed642894 100644 --- a/userspace/ksud/build.rs +++ b/userspace/ksud/build.rs @@ -11,7 +11,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> { .trim() .parse() .map_err(|_| std::io::Error::other("Failed to parse git count"))?; - let version_code = 10000 + 700 + version_code; // For historical reasons + let version_code = 20000 + 700 + version_code; // For historical reasons let version_name = String::from_utf8( Command::new("git")