src-release.sh: fix adjusting files permissions and cleaning

  PR 31800
1 file changed