Skip to main content

Python CLI tool to determine current version in GitLab pipelines.

Project description

gitlab-version-bumper

gitlab-version-bumper is a CLI python tool which parses GitLab environment variables and previous git tags, determines and prints the current semver version.

Installation

Release

The latest release is available in the public PyPi repo. Install via pip:

pip install gitlab-version-bumper

From git repo

You can also install directly from the git repo.

  1. Clone the repository
git clone <git-url> <destination>
  1. Change into the clone directory
cd <destination>
  1. Install via pip
pip install .

Usage

usage: gitlab-version-bumper [-h]

options:
  -h, --help            show this help message and exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitlab_version_bumper-0.2.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file gitlab_version_bumper-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitlab_version_bumper-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 366d168dd1cd64784db6d2837cd0198d8dd96d2af355842ab1f66684c82546dc
MD5 9d9a196265c127f70a8c8a325d29f72e
BLAKE2b-256 e7f794c8145238b38f493899abc01613f69bf4c44d8ca09502f6c76a7808c401

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page