Code Monkey home page Code Monkey logo

update_parent_semver's Introduction

update_parent_semver.py

Update an "owning" parent's SemVer2 version from a group of child item's versions.

Useful for situations where you have the need for SemVer2 version management for a group of items each with their own SemVer2 versions.

Example

You have three items each with their own SemVer2 versions:

  • Item1 previous version: '1.2.3-beta', current version: '1.2.4'
  • Item2 previous version: '2.1.1+123', current version: '2.2.0'
  • Item3 previous version: '1.5.0', current version: '1.6.1'

The parent that owns these items has its own current SemVer2 version '3.4.5'

The parent version will be updated to '3.5.0' as the differential across all three items is a minor release (both Item2 and Item3).

Tests

Run the module directly:

>>> python update_parent_semver.py

If all tests pass, there will be no output.

Help

>>> python -c 'import update_parent_semver as ups; help(ups)'

update_parent_semver's People

Contributors

geoff-lawn 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.