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
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.3Minor
build-tools version minor # 1.2.3 → 1.3.0Major
build-tools version major # 1.3.0 → 2.0.0Beta
Increment Multiple