Generate a calendar version and (optionally) generate a tag for it.
token
- the github token associated with the build.create_tag
- whether a new tag should be created, based off the new version and tag prefix.tag_prefix
- a prefix for the tag. For a prefix ofmy_feature/v
and a version of22.1.3
, the generated tag would bemy_feature/v22.1.3
. The prefix is also used when fetching any existing tags.release_months
- months that should trigger a new minor release, separated by newlines or commas. Months are parsed using moment.js, soJuly
,Jul
, will trigger a new minor version during July. If unspecified, the current month will be used as the minor version.
old_tag
- the tag, prefixed withtag_prefix
that has the highest version found in the repo. If no matching tag was found,old_tag
will be an empty string.old_version
- the last version, parsed fromold_tag
. If no matching tag was found,old_version
will be an empty string.new_tag
- the new tag, created by combiningtag_prefix
andnew_version
.new_version
- the new version, based on the date and/orold_version
.