Both are definitely valid options, just if you want to write for bash then it's better to avoid ambiguity about it. When writing with support for BSD, Busybox, etc. environments in mind (e.g. inside Alpine Linux), sh is the better option, just comes with some extra baggage.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.