Open PatrikSteuer opened 7 years ago
Hi, thanks for the suggestion!
I originally wrote Chandler to support my Ruby projects, so Gem::Version::VERSION_PATTERN
was the obvious choice, since it is exactly what rubygems uses internally.
I realize that Chandler now has a wider audience, and I also see opportunities to improve Chandler's handling of version numbers and tags in general, so I am open to changing it.
Would you like to open a PR to change the regex to allow -
and +
?
I am not an ruby developer, but I will give my best. So please review the change carefully once I created a PR
We use a different format for releases. Our format is:
20180312/happy-kid
date and then name (which we autogenerate).
⚠️ This project is no longer actively maintained. I have found myself embracing tools like release-drafter to keep release notes updated automatically, rather than relying on a manually edited CHANGELOG.md. If you are interested in taking over chandler development, let me know by opening an issue.
We would like to use your tool, but we have a continous delivery pipeline in place. This pipeline enforces the build only once principle and creates versions which are extended by an timestamp + commitId.
Our versions look like: 0.1.0-20170405101014+6175ca3224ba086e1b22b7923ba3282aa9d4db01
The used validation regex (Gem::Version::VERSION_PATTERN => \^[0-9]+(.[0-9a-zA-Z]+)*$\ ) does not allow the used "-" and "+" symbols.
Is it possible to allow - and + within the version?