chloeb-smith opened a new pull request, #15584:
URL: https://github.com/apache/grails-core/pull/15584

   **Description**
   
   This PR addresses issue #15551. During parallel releases (e.g. 7.0.10 and 
7.1.0-RC1), the promotion script was automatically deleting the old release 
folder, which could remove a still-current release. This change adds an 
interactive prompt before deleting, so the operator can choose whether to 
remove the old folder.
   
   **Changes**
   A [y/N] interactive prompt was added so the operator must explicitly confirm 
before the deletion occurs. If they answer anything other than y/Y, the 
deletion is skipped and the promotion continues as normal.
   
   **Verification**
    Verified using a local mock of the `svn` command, testing three scenarios:
     - Answering `y` — old folder was deleted and promotion completed
     - Answering `n` — deletion was skipped and promotion completed
     - Pressing Enter (default `N`) — deletion was skipped and promotion 
completed


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

Reply via email to