Skip to content

PHP library to increment package version and release project

Notifications You must be signed in to change notification settings

luiscoms/release

Repository files navigation

Release

Latest Stable Version Latest Unstable Version Build Status Coverage Status SensioLabsInsight

Lightweight library to update package version according Semantic Versioning. Aditionally can create git tag, commit and push

Installation

composer require luiscoms/release dev-master

Usage

Let's consider the composer.json file

{
    "version": "0.0.1",
    "require": {
        "luiscoms/release": "dev-master"
    }
}

To view current version

vendor/bin/release [current]
0.0.1

To update patch

vendor/bin/release bump --patch|--bugfix
0.0.2

To update minor

vendor/bin/release bump --minor|--feature
0.1.0

To update major

vendor/bin/release bump --major
1.0.0

About

PHP library to increment package version and release project

Resources

Stars

Watchers

Forks

Packages

No packages published