[fix] move version validation to build and serve
Merge pull request #312 from pdvyas/hotfix

[fix] move version validation to build and serve