release: update release script

work in progress
Release: script release ok for major and minor
Release script: correction of a typo
Release script: forgot to change debug value
Release script: corrections after reviews
Merge pull request #347 from antoine-de/release_script_improvement

Release script improvement