raulcd opened a new issue, #49743: URL: https://github.com/apache/arrow/issues/49743
### Describe the bug, including details regarding any error messages, version, and platform. On the following PR: - https://github.com/apache/arrow/pull/49249 We added the ability to incorporate the sha512 to the Vote email automatically. The problem is that the script currently has a dual purpose. Upload sources and the threading vote email. When uploading sources we delete the artifacts folder: https://github.com/apache/arrow/blob/41035d4be11d47e8e49eea7fde5f9fb74ab6d74d/dev/release/02-source.sh#L92-L94 But unless executed with `SOURCE_VOTE=0` we fail if the folder isn't found: https://github.com/apache/arrow/blob/41035d4be11d47e8e49eea7fde5f9fb74ab6d74d/dev/release/02-source.sh#L133-L136 Currently on the documentation we don't specify that we should run with `SOURCE_VOTE=0` on this first execution: https://github.com/apache/arrow/blob/41035d4be11d47e8e49eea7fde5f9fb74ab6d74d/docs/source/developers/release.rst#L236-L240 Following current release guidelines we see the following (non-harmful error) locally: ``` $ dev/release/02-source.sh 24.0.0 0 Preparing source for tag apache-arrow-24.0.0-rc0 Using commit 31b4b6c0a0a7e7c117312d285541a21446675ec6 Looking for GitHub Actions workflow on apache/arrow:apache-arrow-24.0.0-rc0 Waiting for run to start... Found GitHub Actions workflow with ID: 24404382525 Run RC (24404382525) has already completed with 'success' OK No unapproved licenses Checked out revision 83789. A tmp/apache-arrow-24.0.0-rc0 A (bin) tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz A tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz.sha512 A tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz.asc A tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz.sha256 Adding tmp/apache-arrow-24.0.0-rc0 Adding (bin) tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz Adding tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz.asc Adding tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz.sha256 Adding tmp/apache-arrow-24.0.0-rc0/apache-arrow-24.0.0.tar.gz.sha512 Transmitting file data ....done Committing transaction... Committed revision 83790. Success! The release candidate is available here: https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-24.0.0-rc0 Commit SHA1: 31b4b6c0a0a7e7c117312d285541a21446675ec6 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 157 100 39 100 118 94 286 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 27494 100 27494 0 0 55918 0 0 Error: artifacts/apache-arrow-24.0.0.tar.gz.sha512 must exist ``` We should probably have a final clean up step that deletes the artifacts folder. ### Component(s) Release -- 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]
