You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "omniCoder77 (via GitHub)" <gi...@apache.org> on 2025/12/15 19:10:40 UTC

[PR] CASSANDRA-20672 - release scripts should allow skipping the changelog update [cassandra-builds]

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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-20672 - release scripts should allow skipping the changelog update [cassandra-builds]

Posted by "omniCoder77 (via GitHub)" <gi...@apache.org>.
omniCoder77 closed pull request #121: CASSANDRA-20672 - release scripts should allow skipping the changelog update
URL: https://github.com/apache/cassandra-builds/pull/121


-- 
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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org