Skip to content

Version increment command for selected targets. #88

@ampersarnie

Description

@ampersarnie

Having a command that allows for incrementing the version of a specific plugin would help with how we define and perform semver increments.

Example Command Usage

Patch

build-tools version patch
# 1.2.2 → 1.2.3

Minor

build-tools version minor
# 1.2.3 → 1.3.0

Major

build-tools version major
# 1.3.0 → 2.0.0

Beta

build-tools version major:beta
# 2.0.0 → 3.0.0-beta.1

build-tools version beta
# 3.0.0-beta.1 → 3.0.0-beta.2

Increment Multiple

build-tools version minor my-plugin,my-theme
# my-plugin: 2.0.0 → 2.1.0
# my-theme: 3.4.0 → 3.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions