Fix a bug in the release script

[ci:skip]