Skip to content

Commit 7af71a7

Browse files
committed
Add --repo flag to gh commands
1 parent 6a148c0 commit 7af71a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- name: Get Tag Name of Latest Release Candidate
4040
run: |
41-
rc_tag=$(gh release list | \
41+
rc_tag=$(gh release list --repo apache/arrow | \
4242
cut -f3 | \
4343
grep -F "${GITHUB_REF_NAME}-rc" | \
4444
head -n1)
@@ -55,7 +55,7 @@ jobs:
5555
- name: Download Release Candidate Artifacts
5656
run: |
5757
mkdir release_candidate_artifacts
58-
gh release download ${RELEASE_CANDIDATE_TAG_NAME} --dir release_candidate_artifacts
58+
gh release download ${RELEASE_CANDIDATE_TAG_NAME} --repo apache/arrow --dir release_candidate_artifacts
5959
- name: Create Release Title
6060
run: |
6161
title="Apache Arrow ${VERSION}"
@@ -68,6 +68,7 @@ jobs:
6868
- name: Create GitHub Release
6969
run: |
7070
gh release create ${GITHUB_REF_NAME} \
71+
--repo apache/arrow \
7172
--verify-tag \
7273
--title "${RELEASE_TITLE}" \
7374
--notes "Release Notes: ${RELEASE_NOTES}" \

0 commit comments

Comments
 (0)