Giter Site home page Giter Site logo

artemiljin / bumpversion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peritus/bumpversion

0.0 1.0 0.0 384 KB

Version-bump your software with a single command

Home Page: https://pypi.python.org/pypi/bumpversion

License: MIT License

Python 100.00%

bumpversion's Introduction

bumpversion

Version-bump your software with a single command!

A small command line tool to simplify releasing software by updating all version strings in your source code by the correct increment:

  • version formats are highly configurable
  • just handles text files, so it's not specific to any programming language

Usage

Currently there is only one way to use it: you need .bumpversion.cfg and setup.py files. The setup.py file won't be changed, but .bumpversion.cfg will be. Actually the rule is next: - compare version in setup.py with version in .bumpversion.cfg if minor/major are the same - update the patch from .bumpversion.cfg and setup.py. If minor or major are different - use the version from setup.py and update only .bumpversion.cfg

bumpversion [options] part
part (required)
The part of the version to increase, only patch now are supported

Configuration

Put into .bumpversion.cfg information about the current version.

Example .bumpversion.cfg:

[bumpversion]
current_version = 0.2.9

Options

Most of the configuration values above can also be given as an option. Additionally, the following options are available:

--dry-run, -n
Don't touch any files, just pretend. Best used with --verbose.
--verbose
Print useful information to stderr
-h, --help
Print help and exit

bumpversion's People

Contributors

peritus avatar artemiljin avatar lgiordani avatar t-8ch avatar thebjorn avatar jaraco avatar keimlink avatar dbrgn avatar gvangool avatar mskrajnowski avatar inirudebwoy avatar coredumperror avatar jenisys avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.