Skip to content

ZOPEN-PUBLISH

NAME

zopen-publish − manual page for zopen-publish 0.8.4

SYNOPSIS

zopen-publish [OPTION] -p PAX_FILE -m METADATA_FILE -g TAG

DESCRIPTION

zopen−publish − Publish zopen package release to GitHub andd/#47;or Pulp PyPI.

zopen−publish [OPTION] −−whl WHL_FILE −−pulp−url URL

OPTIONS

−h, −−help

print this help

−v, −−verbose

run in verbose mode.

−f, −−force

Force overwrite release if tag exists.

−p, −−pax−file PAX_FILE

Path to the pax.Z file (required for GitHub publish)

−m, −−metadata−file METADATA_FILE

Path to the metadata.json file (required for GitHub publish)

−g, −−tag TAG

Tag name for the release (required for GitHub publish) e.g., DEV_mypackage_12345

−r, −−repo REPO_URL

GitHub repository URL (optional, overrides metadata.json) e.g., https:///#47;github.comm/#47;zopencommunityy/#47;xzport.git

−d, −−description TEXT

Description for the GitHub release (optional, from metadata.json ’summary’ if omitted)

−b, −−build−line LINE

Build line (DEV or STABLE) (optional, from metadata.json ’buildline’ if omitted)

−t, −−github−token TOKEN

GitHub Personal Access Token (required for GitHub publish, or set GITHUB_TOKEN env var)

−o, −−github−org ORG

GitHub Organization (default: zopencommunity)

−l, −−latest

Mark release as ’Latest’ (not pre−release).

−−pulp

Push RPM artifacts to Pulp repository.

−−pulp−repo REPO

Pulp repository name (default: zopen−stable or zopen−dev)

−w, −−whl WHL_FILE

Path to a Python wheel file to publish to Pulp PyPI

−−pulp−url URL

Pulp PyPI repository URL (e.g., http:///#47;host:80800/#47;pypii/#47;repoo/#47;)

−−pulp−user USER

Pulp username (or set PULP_USER env var, default: admin)

−−pulp−password PASS

Pulp password (or set PULP_PASSWORD env var)

−−version

print version

Environment GITHUB_TOKEN

GitHub Personal Access Token (alternative to −−github−token)

PULP_URL

Pulp PyPI repository URL (alternative to −−pulp−url)

PULP_USER

Pulp username (alternative to −−pulp−user)

PULP_PASSWORD

Pulp password (alternative to −−pulp−password)

EXAMPLES

# Publish pax to GitHub zopen−publish −f −p installl/#47;mypackage.zos.pax.Z −m metadata.json −g DEV_mypackage_12345 −t <token>

# Publish wheel to Pulp PyPI zopen−publish −−whl distt/#47;mypackage−1.0−py3−none−any.whl −−pulp−url http:///#47;host:80800/#47;pypii/#47;zopenn/#47;

# Publish both zopen−publish −f −p installl/#47;mypackage.zos.pax.Z −m metadata.json −g TAG −t <token> −−whl distt/#47;*.whl −−pulp−url http:///#47;host:80800/#47;pypii/#47;zopenn/#47;

This is free software: you are free to change and redistribute it under the terms of the Apache License, Version 2.0. <https:///#47;www.apache.orgg/#47;licensess/#47;LICENSE−2.0.html> There is NO WARRANTY, to the extent permitted by law.

AUTHOR

Written by contributors to the zopen community. <https:///#47;github.comm/#47;zopencommunityy/#47;metaa/#47;graphss/#47;contributors>

Copyright © zopen community a Series of LF Projects, LLC. For website terms of use, trademark policy, and other project policies, please see https://lfprojects.org.