Knuckles-Team / autoversioner

Automatically increment the version your project using semantic format. Also supports current date format. 2024.1.4 (Year.Month.Revision)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autoversioner

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 24.5.0

This handy module with auto increment the version and save that to a JSON or .env file

Date versions get set to current Year.Month.Revision

  • 23.12.4 -> 24.1.0

  • 2024.1.4 -> 2024.1.5

Semantic versions get patched

  • 1.1.1 -> 1.1.2
Usage:
Short Flag Long Flag Description
-h --help See Usage
-e --env Export to .env file (/directory/.env)
-j --json Export to JSON file (/directory/version.json)
-d --directory Choose directory of .env and JSON files
-v --version Semantic version input
--major Increment major version
--minor Increment minor version
--patch Patch version
Example:
autoversioner -v '1.10.4' --json --directory '~/Downloads' --env
Installation Instructions:

Install Python Package

python -m pip install autoversioner
Repository Owners:

GitHub followers GitHub User's stars

About

Automatically increment the version your project using semantic format. Also supports current date format. 2024.1.4 (Year.Month.Revision)

License:MIT License


Languages

Language:Python 97.1%Language:Shell 2.9%