This is an automated email from the ASF dual-hosted git repository.

shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c8de3793a25 Make provider signing resumable after interruption (#74465)
c8de3793a25 is described below

commit c8de3793a2568ad3dd684a721a2ff9efcceb1bd6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Oct 8 17:19:32 2026 +0200

    Make provider signing resumable after interruption (#74465)
---
 dev/sign.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev/sign.sh b/dev/sign.sh
index 71ea73c102d..c7a3b3765fc 100755
--- a/dev/sign.sh
+++ b/dev/sign.sh
@@ -27,6 +27,15 @@ SIGN_WITH="${SIGN_WITH:-apache.org}"
 
 for name in "${@}"
 do
+    # Re-running after an interrupted run must not sign the .asc/.sha512 files
+    # produced earlier, nor re-sign artefacts that already have both of them.
+    case "${name}" in
+        *.asc|*.sha512) continue ;;
+    esac
+    if [[ -f "${name}.asc" && -f "${name}.sha512" ]]; then
+        echo "Skipping ${name}: already signed"
+        continue
+    fi
     gpg --yes --armor --local-user "$SIGN_WITH" --output "${name}.asc" 
--detach-sig "${name}"
     shasum -a 512 "${name}" > "${name}.sha512"
 done

Reply via email to