kou commented on PR #787:
URL: https://github.com/apache/arrow-nanoarrow/pull/787#issuecomment-2982337332

   Here is a sample execution output with:
   
   ```diff
   diff --git a/dev/release/post-02-remove-old-artifacts.sh 
b/dev/release/post-02-remove-old-artifacts.sh
   index 96efb54..5e231bd 100755
   --- a/dev/release/post-02-remove-old-artifacts.sh
   +++ b/dev/release/post-02-remove-old-artifacts.sh
   @@ -40,7 +40,7 @@ main() {
        )
        for old_rc in ${old_rcs}; do
          echo "Remove RC: ${old_rc}"
   -      svn \
   +      echo svn \
            delete \
            --username=${APACHE_USERNAME} \
            -m "Remove old Apache Arrow nanoarrow RC: ${old_rc}" \
   @@ -58,7 +58,7 @@ main() {
        )
        for old_release_version in $old_releases; do
          echo "Remove old release: ${old_release_version}"
   -      svn \
   +      echo svn \
            delete \
            --username=${APACHE_USERNAME} \
            -m "Remove old Apache Arrow nanoarrow release: 
${old_release_version}" \
   ```
   
   ```console
   $ dev/release/post-02-remove-old-artifacts.sh 
   Remove all RCs
   Keep only the latest release
   Remove old release: apache-arrow-nanoarrow-0.1.0/
   svn delete --username=kou -m Remove old Apache Arrow nanoarrow release: 
apache-arrow-nanoarrow-0.1.0/ 
https://dist.apache.org/repos/dist/release/arrow/apache-arrow-nanoarrow-0.1.0/
   Remove old release: apache-arrow-nanoarrow-0.2.0/
   svn delete --username=kou -m Remove old Apache Arrow nanoarrow release: 
apache-arrow-nanoarrow-0.2.0/ 
https://dist.apache.org/repos/dist/release/arrow/apache-arrow-nanoarrow-0.2.0/
   Remove old release: apache-arrow-nanoarrow-0.3.0/
   svn delete --username=kou -m Remove old Apache Arrow nanoarrow release: 
apache-arrow-nanoarrow-0.3.0/ 
https://dist.apache.org/repos/dist/release/arrow/apache-arrow-nanoarrow-0.3.0/
   Remove old release: apache-arrow-nanoarrow-0.4.0/
   svn delete --username=kou -m Remove old Apache Arrow nanoarrow release: 
apache-arrow-nanoarrow-0.4.0/ 
https://dist.apache.org/repos/dist/release/arrow/apache-arrow-nanoarrow-0.4.0/
   Remove old release: apache-arrow-nanoarrow-0.5.0/
   svn delete --username=kou -m Remove old Apache Arrow nanoarrow release: 
apache-arrow-nanoarrow-0.5.0/ 
https://dist.apache.org/repos/dist/release/arrow/apache-arrow-nanoarrow-0.5.0/
   Success! See the current artifacts:
     https://dist.apache.org/repos/dist/dev/arrow/
     https://dist.apache.org/repos/dist/release/arrow/
   ```


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