From 7af71a743ea922451f32d70df355e12e0c7ab560 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Fri, 17 May 2024 12:00:53 -0400 Subject: [PATCH] Add --repo flag to gh commands --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b19c32e2864e5..4924ac3438ceb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Get Tag Name of Latest Release Candidate run: | - rc_tag=$(gh release list | \ + rc_tag=$(gh release list --repo apache/arrow | \ cut -f3 | \ grep -F "${GITHUB_REF_NAME}-rc" | \ head -n1) @@ -55,7 +55,7 @@ jobs: - name: Download Release Candidate Artifacts run: | mkdir release_candidate_artifacts - gh release download ${RELEASE_CANDIDATE_TAG_NAME} --dir release_candidate_artifacts + gh release download ${RELEASE_CANDIDATE_TAG_NAME} --repo apache/arrow --dir release_candidate_artifacts - name: Create Release Title run: | title="Apache Arrow ${VERSION}" @@ -68,6 +68,7 @@ jobs: - name: Create GitHub Release run: | gh release create ${GITHUB_REF_NAME} \ + --repo apache/arrow \ --verify-tag \ --title "${RELEASE_TITLE}" \ --notes "Release Notes: ${RELEASE_NOTES}" \