This is the official manual for the latest Org-mode release.
:shebang header argument to a string value
:shebang "#!/bin/bash") causes the string to be inserted as the
first line of any tangled file holding the code block, and the file
permissions of the tangled file are set to make it executable.