Skip to content

Instantly share code, notes, and snippets.

@ern
ern / gist:c50c534734c2d9cb25fa
Created May 12, 2015 21:51
Shell script for merging from git to subversion
gitmerge() {
#Commands this needs
CURL=`which curl`
GREP="/usr/bin/grep"
AWK=`which awk`
TR=`which tr`
UNIQ=`which uniq`
SVN=`which svn`
MKTEMP=`which mktemp`
CUT=`which cut`
@ern
ern / ReleasingSakai
Last active August 29, 2015 14:02
Sakai Release Process
Releasing sakai involves changing versions and creating tags and deploying artifacts to maven repo's.
* maybe a snippet why maven release plugin is a pain and can't be used see http://axelfontaine.com/blog/final-nail.html
- Versioning the new version
For this task we will leverage the maven versions plugin http://mojo.codehaus.org/versions-maven-plugin/
When a branch is ready to be made a version the first thing is to update versions
In order to ensure all the versions were updated accuratley its important to find out how many versions there currently are with something like: