We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e946d5 commit f48f5c5Copy full SHA for f48f5c5
1 file changed
.github/workflows/release.yml
@@ -233,7 +233,10 @@ jobs:
233
steps:
234
# Flip the draft (created earlier) to live only after both registries
235
# have the new version. github.token has the contents:write granted above.
236
+ # This job does no checkout, so `gh` cannot infer the repo from a git
237
+ # remote -- pass it explicitly with --repo, or the edit dies with
238
+ # "fatal: not a git repository".
239
- name: Mark release as published
240
env:
241
GH_TOKEN: ${{ github.token }}
- run: gh release edit "${{ github.ref_name }}" --draft=false
242
+ run: gh release edit "${{ github.ref_name }}" --repo "${{ github.repository }}" --draft=false
0 commit comments