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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gitlab_version_bumper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 becf4a6dcbed785edac66254c9e6cfc4c7e1e1e6747c66ddda1dc3b02c12ed2d
MD5 9124369c2c50e22481b62708b7e152c3
BLAKE2b-256 19533055cd7760ae1888cb8d192013ac2a3307e9791af671e1eaef350a60edd8

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