zuke.tools.release_please
@zuke/release-please 1.0.3: @zuke/release-please — typed ReleasePleaseTasks wrappers for the [release-please](https://github.com/googleapis/release-please) CLI, for use in Zuke builds (maintaining release PRs and cutting GitHub releases).
zuke on PyPI ↗ 4 symbols
Symbols
class ReleasePleaseGithubReleaseSettings(ReleasePleaseSettings) Settings for release-please github-release (cut releases and tags).
class ReleasePleaseReleasePrSettings(ReleasePleaseSettings) Settings for release-please release-pr (maintain the release PR).
class ReleasePleaseSettings(ToolSettings) Shared base for release-please subcommands. Each subcommand contributes its leading token via subcommand; the common --token/--repo-url/… flags live here since release-pr and github-release accept the same set.
-
token(value: str) -> SelfGitHub access token (
--token). -
repo_url(value: str) -> SelfThe repository, as
owner/repoor a URL (--repo-url). -
target_branch(value: str) -> SelfThe branch to release from (
--target-branch). -
config_file(path: str) -> SelfPath to the release-please config file (
--config-file). -
manifest_file(path: str) -> SelfPath to the release-please manifest file (
--manifest-file). -
dry_run() -> SelfPrint actions without performing them (
--dry-run). -
debug() -> SelfEmit verbose debug logging (
--debug).
class ReleasePleaseTasks Typed task functions for the release-please CLI.
-
static async release_pr(ctx: ServiceContext, configure: Callable[[ReleasePleaseReleasePrSettings], ReleasePleaseReleasePrSettings] | None=None) -> ExecResultCreate or update the release PR:
release-please release-pr. -
static async github_release(ctx: ServiceContext, configure: Callable[[ReleasePleaseGithubReleaseSettings], ReleasePleaseGithubReleaseSettings] | None=None) -> ExecResultCut GitHub releases and tags:
release-please github-release.