If the git tag is a valid semver string, this variable provides the major version number from the semver string.
DRONE_SEMVER_MAJOR=1
DRONE_SEMVER=1.2.3
If the git tag is a valid semver string, this variable provides the major version number from the semver string.
DRONE_SEMVER_MAJOR=1
DRONE_SEMVER=1.2.3