Skip to content

Commit

Permalink
Add commit id to localversion string
Browse files Browse the repository at this point in the history
  • Loading branch information
liyafe1997 committed Oct 11, 2024
1 parent e2b937f commit 06187d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ git clone https://github.com/liyafe1997/AnyKernel3 -b kona --single-branch --dep

# Add date to local version
local_version_str="-perf"
local_version_date_str="-perf-$(date +%Y%m%d)"
local_version_date_str="-$(date +%Y%m%d)-${GIT_COMMIT_ID}-perf"

sed -i "s/${local_version_str}/${local_version_date_str}/g" arch/arm64/configs/${TARGET_DEVICE}_defconfig

Expand Down

0 comments on commit 06187d4

Please sign in to comment.