file: adapt release.sh for new compat/regex