The Gaudi Framework
master (37c0b60a)
|
Classes | |
class | Fields |
class | FileUpdater |
class | ReplacementRule |
Functions | |
tuple[str, str] | normalize_version (str version) |
tuple[str, list[str], list[str]] | update_changelog (Fields fields) |
str | contributor_handle (str name) |
def | update_version (str version, datetime.datetime date, bool dry_run) |
Variables | |
GITLAB_TOKEN | |
str update_version.contributor_handle | ( | str | name | ) |
Definition at line 193 of file update_version.py.
tuple[str, str] update_version.normalize_version | ( | str | version | ) |
Convert a version in format "vXrY" or "X.Y" in the pair ("X.Y", "vXrY"). >>> normalize_version("v37r0") ('37.0', 'v37r0') >>> normalize_version("37.0.1") ('37.0.1', 'v37r0p1')
Definition at line 26 of file update_version.py.
tuple[str, list[str], list[str]] update_version.update_changelog | ( | Fields | fields | ) |
Special updater to fill draft changelog entry.
Definition at line 122 of file update_version.py.
def update_version.update_version | ( | str | version, |
datetime.datetime | date, | ||
bool | dry_run | ||
) |
Helper to easily update the project version number in all needed files.
Definition at line 222 of file update_version.py.
update_version.GITLAB_TOKEN |
Definition at line 23 of file update_version.py.