What is the correct way to upgrade Grin-Miner

If I want to bring my grin-miner up to date by getting the latest version from the git repository.

Is it ok to (from grin-miner folder)

  • git pull origin master

  • then cargo build

would we need rebuild the ocl_plugin? Does it really depend upon what the updates have been since you last built.?

Would it be best just to back up your grin-miner.toml and delete the grin-miner folder and start from scratch? Or could using on old version of the grin-miner.toml be an issue, so it would be better to really just regenerate a new one and re-edit it again?

Sorry for all the nested questions.