https://github.com/plnech/increment_semver
A gem to increment a version number following the Semantic Versioning scheme
https://github.com/plnech/increment_semver
build-automation increment increment-semver release-automation release-management semantic-versioning semver semver-syntax
Last synced: about 1 year ago
JSON representation
A gem to increment a version number following the Semantic Versioning scheme
- Host: GitHub
- URL: https://github.com/plnech/increment_semver
- Owner: PLNech
- License: mit
- Created: 2018-03-14T10:50:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T14:50:35.000Z (about 8 years ago)
- Last Synced: 2025-01-29T06:51:19.590Z (over 1 year ago)
- Topics: build-automation, increment, increment-semver, release-automation, release-management, semantic-versioning, semver, semver-syntax
- Language: Ruby
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Increment SemVer
> A gem to increment a version number following the [Semantic Versioning scheme](semver.org)
[


](https://rubygems.org/gems/increment_semver)
## Install
To install (or update to latest release):
```ruby
gem install increment_semver
```
Alternatively, add the following to your GemFile:
```gemfile
gem 'increment_semver', '~> 0.0.4'
```
## Usage
```ruby
require 'increment_semver'
new_version = increment_semver('1.0.0', 'minor') // Now 1.1.0
```
## Contributing
From [reporting an issue](https://github.com/PLNech/increment_semver/issues/new) to [contributing new code](https://github.com/PLNech/increment_semver/compare?expand=1), your collaboration is more than welcome!
- To run the tests: `rake`
- To release a new version: `./release.sh VERSION_CODE` (with `VERSION_CODE` following SemVer 😉)