INNER CODE UNIT · Python

run_gh_json

fluxerapp/flutter_client · .github/scripts/append_release_direct_commits.py:68

def run_gh_json(args: list[str]) -> object:
    completed = subprocess.run(
        ["gh", *args],
        check=True,
        text=True,
        capture_output=True,
    )
    return json.loads(completed.stdout)


def is_beta_prerelease_tag(tag_name: str) -> bool:
    return BETA_TAG_PATTERN.match(tag_name) is not None


def find_previous_release_tag(current_tag: str) -> str | None:
    repository = os.environ["GITHUB_REPOSITORY"]
    releases = run_gh_json(
        [

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…