Giter Club home page Giter Club logo

versio's Introduction

Versio

Git is awesome if you want to manage versions for your project, but what is if you want to create a release? You always have to set the version on several places, create new branches, tag the commits and bump the version on several places. This can be annoying, so this is what Versio do for you.

Starting with the following history:

* Initial commit (HEAD -> master)

Now run the following command:

                       The type of version you want to release
                       |     The next type of version you are expecting
                       |     |     The next version on the master branch
                      \/    \/    \/
$ versio prerelease alpha beta minor
> Bump version on branch "master" to "0.2.0-DEV".
> Release version "0.1.0-ALPHA.1" on branch "release/0.1".
> Bump version on branch "release/0.1" to "0.1.0-BETA.1-DEV".

History now:

* Bump version to 0.1.0-BETA.1-DEV (HEAD -> release/0.1)
* Update version for 0.1.0-ALPHA.1 (tag: v0.1.0-BETA.1)
| * Bump version to 0.2.0-DEV (master)
|/
* Initial commit

Awesome!

Installation

Download the latest release phar and install it with:

wget https://github.com/chapterjason/Versio/releases/download/v0.1.0-BETA.1/versio.phar
sudo mv versio.phar /usr/local/bin/versio
sudo chmod +x /usr/local/bin/versio

Documentation

Roadmap

  • Website
  • Documentation
  • Free definable places
  • Better git interactions
  • Ensure that all branches are localy available. Currently its enough if you are git fetch --all && git pull --all before working with the command, or ensure that the master and all release branches localy available.
  • Command tests. Currently not that easy cause of the git interactions.
  • validate Command, to validate the versio file.
  • As mentioned in the WorkflowGenerator ensure that every path can end in release.
  • json schema file

0.2.0

  • Custom exceptions
  • More detailed error messages
  • Better command description and help texts
  • Commit message format
  • Strategy tests

0.1.0

  • init command. Allows to init the versio in a git project or init a new git before.
  • get command. Displays the current version.
  • Strategies.
    • Versio
    • Composer
    • Expression
    • Line
    • Npm

versio's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.