diff --git a/push.sh b/push.sh index 7b3b925..38e09b4 100755 --- a/push.sh +++ b/push.sh @@ -9,6 +9,7 @@ # if we build and release 6.11.1 then building 6.11.0 will succeed since 6.11.0 != 6.11.1 # # -TAG=6.11.1 +#TAG=6.11.1 +TAG=$(grep 'LOCALVERSION=' riscv_defconfig | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/') git add -Av && git commit -m "update" && git tag -a -m "riscv-kernel" riscv-kernel-$TAG && git log -n 1 && git push --follow-tags diff --git a/riscv_defconfig b/riscv_defconfig index 0dbb012..8a204fd 100644 --- a/riscv_defconfig +++ b/riscv_defconfig @@ -27,7 +27,7 @@ CONFIG_THREAD_INFO_IN_TASK=y CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set # CONFIG_WERROR is not set -CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION="6.11.1" CONFIG_LOCALVERSION_AUTO=y CONFIG_BUILD_SALT="" CONFIG_HAVE_KERNEL_GZIP=y