When do i need to update the server?

I recently started working with multiplayer and i was wondering when do i need to update the server? as in compile it again to make sure that the server is up to date with the client.

Do need to ship a new server everytime i package a new version? does it only have to be when i add new server related code? or doing it only once is enough?