Metadata-Version: 2.1
Name: neuro-bump-version
Version: 21.12.4
Summary: Bump version for Neu.ro projects
Home-page: https://github.com/neuro-inc/neuro-bump-version
License: Apache-2.0
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
Requires-Python: >=3.7
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Build Tools
Requires-Dist: click (>=8.0.1,<8.1.0)
Requires-Dist: packaging (>=21.3,<22.0)
Project-URL: Repository, https://github.com/neuro-inc/neuro-bump-version
Description-Content-Type: text/markdown

# neuro-bump-version
Bump neu-ro tag to the next version


## Installation

Install with [pipx](https://pypa.github.io/pipx/) in *user* space to access the tool
everywhere:

```
$ pipx install neuro-bump-version
```

## Usage

1. Change the current folder to cloned git project (or a subfolder).

2. Run `neuro-bump-version` to create a next tag using Neu.ro versioning schema (see below).
   Only projects with `use_scm_version` configured are supported.


## Versioning schema

The schema should conform SemVer, CalVer, and Python PEP 440.

We use `YY.MM(.NN)` naming where `YY` is the last 2 digits of year, `MM` is the month
number without trailing zero, NN is an incremental number instead, resetting this number
to zero every month.

Zero incremental number is omitted.

For example, the first release in October will be `21.10` (implicit trailing zero),
the next is `21.10.1`, `21.10.2` and so on until November.
The first release in November should be `21.11`.

