Skip to content

Conversation

@patchback
Copy link

@patchback patchback bot commented Nov 12, 2025

This is a backport of PR #13942 as merged into main (21ad5c6).

It is possible to use gh release create --repo= [1] so that GH CLI does not need to infer the repository information from the Git repository.

GH CLI supports passing such options via environment values [2], which is what this patch makes use of.

It's a follow-up for #13891.

* 🧪 Run `gh release` w/o Git in CI/CD

It is possible to use `gh release create --repo=` [[1]] so that GH CLI
does not need to infer the repository information from the Git
repository.

GH CLI supports passing such options via environment values [[2]],
which is what this patch makes use of.

It's a follow-up for #13891.

[1]: https://cli.github.com/manual/gh_release_create
[2]: https://cli.github.com/manual/gh_help_environment

* 📝 Add a change note for PRs #13942 and #13891

(cherry picked from commit 21ad5c6)
@nicoddemus nicoddemus enabled auto-merge (squash) November 12, 2025 09:59
@nicoddemus nicoddemus merged commit a9f7e6e into 9.0.x Nov 12, 2025
33 checks passed
@nicoddemus nicoddemus deleted the patchback/backports/9.0.x/21ad5c65c979dfd2352784b3e074cd34f208dfdf/pr-13942 branch November 12, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants