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.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gitlab_version_bumper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44d9fa9b13712179a22d7ebca3e6c9c67abb36cb60b5a459f32a1576881264bf
MD5 8da6c5e47a16f5ea3779065e07fa5f0b
BLAKE2b-256 c1474665ed9996ecfa13a70ad17207e0d998b0936c10d3e2e87fcbf927d42084

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