omniCoder77 opened a new pull request, #121:
URL: https://github.com/apache/cassandra-builds/pull/121

   **Problem**
   
   When `prepare_release.sh` fails partway through, retrying requires manually 
commenting out the `dch` command in the script. The changelog update and git 
commit cannot be undone cleanly, making retries awkward.
   
   **Solution**
   
   Add a `-s` (skip changelog) flag that allows skipping the Debian changelog 
update step. This enables safe retries of failed releases without manual script 
editing or git history manipulation.
   
   **Changes**
   
   *   Add `-s` flag to command-line options
   *   Add `skip_changelog` variable to track flag state
   *   Wrap the `dch` execution and `git commit` in a conditional check
   *   Add validation to prevent `-s` from being used with partial builds ( 
`-d` or `-r` )
   *   Update help text to document the new flag


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to