OpenRazer driver needs reinstallation after every kernel update

I am facing a minor issue where the OpenRazer driver needs to be reinstalled every time the kernel gets an update. I update it with the command:

sudo dkms install openrazer-driver/2.7.0

I got two question:
1- How do I automate this process so that I don’t need to do it every time the kernel updates? Please take into consideration that the “2.7.0” is the version number of the driver and therefore needs to change.
2- Isn’t this a bug in the installer? And if yes, who should I report this to and how?

Did you enable the dkms systemd service ? If not, do so and wait for the next kernel update. It should trigger a rebuild of the kernel module when one occurs.