How to patch code changes to existing running Grafana?

We have a Grafana instance running, which is a stable build without any change. Now we developed some features, made some backend changes, what’s the best strategy to apply those changes to the running instance?

Use then building from source guide on docs to build a release bild and deploy the build