0.0
No commit activity in last 3 years
No release in over 3 years
A flexible and concise version bumper that can, in a single command, take care of all the git ceremony in a git-flow compatible fashion .
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

#gemspec-bump

A library for combining Versions with VersionDiffs into new Versions.

##Basic

The basic functionality is exposed in the CLI via the versionpatch and versionpatch-file executables. See README-VERSIONPATCH.md for how to use versionpatch.

See the specs or read the code for in-ruby examples of the basic functionality.

gemspec-bump

gemspec-bump it assumes you’re in a git repo that has the VERSION and VERSION_FOR_HUMANS files in its root, of which each contains a version string, and that you’re on a non-master branch ( e.g. a release branch or your develop branch if you’re using git flow).

The executable gets a new version for at least the VERSION version by either opening the VERSION file in your text editor (if no argument is given) or by applying arguments as VersionDiffs to VERSION and VERSION_FOR_HUMANS respectively (the latter is optional). It writes the new version(s), creates a commit, merges it with master, tags the master merge commit appropriately, merges the merge commit back to the original branch, and outputs a reverse, decorated, one-line commit log so that you can see where you’re at.

If you’re on a branch based on master, this whole chain should succeed without any need for additional user input.

See gemspec-bump --help for more information.

What’s it got to do with gemspecs

Nothing. This was made to be used in conjuction with my gemspec gem so why not use its namespace.