Skip to content

Commit

Permalink
Add --repo flag to gh commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 17, 2024
1 parent 6a148c0 commit 7af71a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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}"
Expand All @@ -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}" \
Expand Down

0 comments on commit 7af71a7

Please sign in to comment.