Skip to main content

VUP: Version UPdater: Version management system

Project description

VUP: Version UPdater

© 2019 SiLeader and Cerussite.

features

  • version number management
  • support some version type
    • auto increment
    • manual increment (increment by command execute)
    • year, month, day
    • number of days from specified date
  • dependent only standard Python libraries

version string format

MAJOR.MINOR.BUILD.REVISION

install

please execute command below.

pip install vup

usage

  1. run init sub command to initialize project
  2. run generate sub command to generate header file
  3. run update sub command to update version number

T is position of version string. T is major, minor, build, or revision.

init sub command

  • --T-type is type of version number
  • --T is initial value
  • --T-from is starting point

Type

type meaning
auto auto increment by update sub command
manual manual increment by update sub command
days number of days from specified date (--T-from)
year year
month month
day day
none not use this field

generate sub command

  • --language or -x: target language (C++, C, or Python)
  • --output or -o: output basename
  • --pre-update: update before generate
  • --post-update: update after generate
  • --standard or --std: C++ standard version

License

GNU General Public License version 3.0 (GPLv3.0)

See LICENSE.

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

vup-1.1.4.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

vup-1.1.4-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page