amoeba commented on code in PR #50364:
URL: https://github.com/apache/arrow/pull/50364#discussion_r3521880375


##########
dev/release/07-flightsqlodbc-upload.sh:
##########
@@ -137,14 +137,19 @@ fi
 
 if [ "${PHASE_BUILD_MSI}" -gt 0 ]; then
   echo "[4/8] Triggering odbc_release_step in package_odbc.yml workflow..."
-  gh workflow run package_odbc.yml \
+  workflow_url=$(gh workflow run package_odbc.yml \
     --repo "${GITHUB_REPOSITORY}" \
     --ref "${tag}" \
-    --field odbc_release_step=true
+    --field odbc_release_step=true)
+  echo "${workflow_url}"
+  # Extract run ID from `gh workflow run` output. The output is structured 
like,
+  # https://github.com/apache/arrow/actions/runs/28679576610 and we just need
+  # the id.
+  run_id=$(echo "${workflow_url}" | grep -Eo 'actions/runs/[0-9]+' | grep -Eo 
'[0-9]+$' || true)
 

Review Comment:
   Fixed in 
https://github.com/apache/arrow/pull/50364/commits/2c9d7a1ef6bd6203173a34e258afc449d89e5343



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