Skip to content

Instantly share code, notes, and snippets.


kuhajeyan kuhajeyan

View GitHub Profile
searls /
Created June 24, 2011 00:25
My approximation of nvie's git flow when using maven-release-plugin to cut releases. -
# How to perform a release with git & maven following the git flow conventions
# ----------------------------------------------------------------------------
# Finding the next version: you can see the next version by looking at the
# version element in "pom.xml" and lopping off "-SNAPSHOT". To illustrate,
# if the pom's version read "0.0.2-SNAPSHOT", the following instructions would
# perform the release for version "0.0.2" and increment the development version
# of each project to "0.0.3-SNAPSHOT".
# branch from develop to a new release branch
git checkout develop