Never == Next Version
Project description
NeVer - Next Version
Never forget how to release a Next Version.
how to use
Setup an environment with the dependencies once, if you haven't done that yet.
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install never
$ never -h
usage: never [-h] [--settings | --no-settings] [--version] [-f SETTINGS_FILE] [-p PROJECT] {major,minor,patch}
Next version for next release
positional arguments:
{major,minor,patch}
optional arguments:
-h, --help show this help message and exit
--settings, --no-settings
whether to use a settings-file for your configuration, or provide the settings manually
--version show program's version number and exit
required when using a settings-file for your configuration:
-f SETTINGS_FILE, --settings-file SETTINGS_FILE
-p PROJECT, --project PROJECT
Website: https://github.com/swesterveld/next
settings
Currently, the --no-settings
flag doesn't work yet, so you should use a settings file.
The settings file should be JSON-formatted. Its contents should be like:
{
"projects": {
"backend": {
"path": "~/repos/some-repo-clone-of-backend-project",
"branches": {
"staging": "develop",
"production": "master"
},
"version_file": "VERSION"
},
"frontend": {
"path": "/home/jdoe/repos/some-repo-clone-of-frontend-project",
"branches": {
"staging": "develop",
"production": "master"
},
"version_file": "VERSION",
"package_metadata": "package.json"
}
}
}
run
An example, to bump the version from x.y.z
to x.y.z+1
for project frontend
defined in etc/never.config.json
:
never patch --settings -f etc/never.config.json -p frontend
dependencies
This project has some dependencies mentioned in the requirements.txt
file.
Documentation of these Python packages could be found at:
Other dependencies, from the Python Standard Library, are documented here:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ne-ver-2.0.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
ne_ver-2.0.0-py3-none-any.whl
(7.6 kB
view hashes)