DRONE_SEMVER_MINOR

If the git tag is a valid semver string, this variable provides the minor version number from the semver string.

DRONE_SEMVER_MINOR=2
DRONE_SEMVER=1.2.3