ocket8888 opened a new issue #5704:
URL: https://github.com/apache/trafficcontrol/issues/5704
## I'm submitting a ...
- bug report
## Traffic Control components affected ...
None
## Current behavior:
If the `release.pl` script fails to edit the VERSION file, it will plow
ahead anyway. Or, presumably, if any step fails it will continue to do things,
possibly incorrectly.
## Expected behavior:
If part of the process of creating a release (or candidate) fails, the
script should exit immediately, printing what went wrong (ideally to stderr)
and use a non-zero exit code.
## Minimal reproduction of the problem with instructions:
I think if you try to create an existing release it won't have any negative
side effects. So checkout e.g. the RELEASE-5.0.0-RC1 tag and do
`./misc/release.pl --gpg-key={{some key}} --release-no=RELEASE-5.0.0-RC1 cut`.
## Anything else:
You can see it happening in the script's output:
```
Failed to run:git commit -m 'RELEASE: Syncing VERSION file' VERSION
Updating 'VERSION' file
Everything up-to-date
Signing new tag based upon your gpg key
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]