Skip to content

Commit 7b5c563

Browse files
authored
Fix issue with creation of GitHub release caused by missing cli switch
Reference: #1307 The command added, `gh release create`, fails without the `--repo` siwtch. This change adds it. Here is an Action run that fails without it https://github.com/uclahs-cds/BL_Python/actions/runs/6658063247/job/18094142825 And a successful Action run that succeeds with it. https://github.com/uclahs-cds/BL_Python/actions/runs/6658181985/job/18094515444
1 parent 0b20b77 commit 7b5c563

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/guides/github-actions-ci-cd-sample/publish-to-test-pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
run: >-
7878
gh release create
7979
'${{ github.ref_name }}'
80+
--repo '${{ github.repository }}'
8081
--notes ""
8182
- name: Upload artifact signatures to GitHub Release
8283
env:

0 commit comments

Comments
 (0)