Skip to content
Back to top
View this page

# semantic_release.cli.github_actions_output module

class semantic_release.cli.github_actions_output.PersistenceMode(*values)

  Bases: `Enum`

  PERMANENT = 'permanent'
  TEMPORARY = 'temporary'

class semantic_release.cli.github_actions_output.VersionGitHubActionsOutput(gh_client: Github | None = None, mode: PersistenceMode = PersistenceMode.PERMANENT, released: bool | None = None, version: Version | None = None, commit_sha: str | None = None, release_notes: str | None = None, prev_version: Version | None = None)

  Bases: `object`

  OUTPUT_ENV_VAR = 'GITHUB_OUTPUT'
  property commit_sha: str | None
  property gh_client: Github
  property is_prerelease: bool | None
  property prev_version: Version | None
  property release_notes: str | None
  property released: bool | None
  property tag: str | None
  to_output_text() → str
  property version: Version | None
  write_if_possible(filename: str | None = None) → None