I have tried to build code base of FreeBSD 13.1 by switching the /usr/src branch to volatile/22.7. I have cleaned the previous kernel by triggering make clean-kernel from which got it from stable/22.1. Was able to generate the iso by doing "make update && make SETTINGS="22.1" dvd". When I checked the uname -r from the live CD of new iso I could find the version is 13.0-STABLE and not 13.1-RELEASE. What am I missing ?. Could you guide me how to build kernel based out of FreeBSD 13.1 codeine.
Fixed it by doing make clean-base. Thanks :P