docopt / docopt.net

Port of docopt to .net
https://docopt.github.io/docopt.net/
Other
350 stars 33 forks source link

Adjust package version suffix for tagged releases #152

Closed atifaziz closed 2 years ago

atifaziz commented 2 years ago

This PR adjusts the package version suffix for tagged releases. If the CI build is for a tag and that tag starts with a lowercase V (e.g. v1.2.3) then the version suffix is nulled and the tag is assumed to represent a release. If the tag has a suffix, dash/hyphen (-) followed by dot-separated non-empty identifiers ([0-9A-Za-z-]), then the package is assumed to represent a pre-release and the suffix will also be used for the packager version suffix.