Releases: sindrenm/versionate
Specifying pre-releases
Minor release that allows for specifying pre-releases (like betas and release candidates). Previously, it would specify the latest stable release, as that is the default returned value from the RubyGems API. If there is no pre-release version available on RubyGems, the latest stable release will be specified as before. To allow for pre-releases, use the --pre
flag:
$ versionate --pre
Introducing command line options
Improves the command line client to accept options and sub-commands.
Supported sub-commands are:
version
: displays the current version of the gemprocess
: processes a Gemfile (default command)
process
can also take to options:
--no-patch
(or--patch
which is default behaviour): Specify whether or not to keep the patch version--specifier
: Takes a string value and prepends that specifier to the outputted versions
Basic versioning
Includes the most basic functionality, which is processing a Gemfile (or a file of any other name) and specify the latest released version of each gem after each line that has no specified version already (or any other form of versioning, like a github
option or whatever).