UPGRADE Lines

UPGRADE feature vendor from_feat_version to_feat_version \
exp_date num_lic [options ... ] SIGN="<...>"

All the data is the same as for a FEATURE or INCREMENT line, with the addition of the from_feat_version field. An UPGRADE line removes up to the number of licenses specified from any old version (>= from_feat_version) and creates a new version with that same number of licenses.

For example, the two lines provide three version 1.0 licenses of f1 and two version 2.0 licenses of f1.

INCREMENT f1 sampled 1.000 31-dec-2020 5 SIGN="<...>"
UPGRADE f1 sampled 1.000 2.000 31-dec-2020 2 SIGN="<...>"

An UPGRADE line operates on the closest preceding FEATURE or INCREMENT line with a version number that is >= from_feat_version, and < to_feat_version.