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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gitlab_version_bumper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e019663c12de569404cb6d34a11a6533f4288cdc875e5f55ba5974fa9f415f94
MD5 14fd5ae215749826a60f4aba52ee4703
BLAKE2b-256 5d26912732850df6105afdf316e281700bc3ea6a384841857030cb94205e3cd1

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