fluxter/fxrelease

There is no license information available for the latest version (1.1.0) of this package.

A small symfony helper CLI tool

1.1.0 2021-01-05 19:54 UTC

This package is auto-updated.

Last update: 2024-11-06 03:59:15 UTC


README

How to install

Require the package

$ composer global require fluxter/fxrelease

After that, make sure composer vendor bin is inside your path!

$ export PATH="$PATH:$HOME/.composer/vendor/bin"

Voila!

$ fxrelease

should work now

How to update

$ composer global update fluxter/fxrelease

.fxrelease file

Project ID (required)

{
    "projectId": 15,
}

URL (required)

{
    "url": "https://gitlab.com",
}

Single version file

{
    "versionFile": "composer.json",
    "versionPattern": "\"version\": \"FXRELEASE_VERSION_HERE\"", 
}

Mulitple version files

{
    "versionFiles": [
        {
            "file": "composer.json",
            "pattern": "\"version\": \"FXRELEASE_VERSION_HERE\"",
        },
        {
            "file": "second_file.blub",
            "pattern": "my_version_is: FXRELEASE_VERSION_HERE",
        }
    ]
}

Master branch (defaults to master)

{
    "masterBranch": "prod"
}

Label Map (this example is the default)

{
    "labelMap": {
        "bug": "BUG",
        "suggestion": "NEU",
        "enhancement": "VERBESSERUNG"
    }
}