Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added script for generating changelog

  • Loading branch information...
commit 0464d850bf98812dd1046f18fc022c7db58da6a9 1 parent 1c9d797
Justin Deoliveira jdeolive authored
Showing with 34 additions and 0 deletions.
  1. +34 −0 changelog.sh
34 changelog.sh
View
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+#set -e
+#set -x
+
+if [ "$#" -lt 2 ]
+then
+ echo "$0 <FROM> <TO> [--no-filter]"
+ exit
+fi
+
+args=( $* )
+for (( i=2; i < ${#args[*]}; i++ )); do
+ arg=${args[$i]}
+ if [ $arg == "--no-filter" ]; then
+ no_filter=$arg
+ fi
+done
+
+from=$1
+to=$2
+
+git log $from..$to | grep "#" | sed 's/^/ > /g'
+echo
+
+submodules=`git submodule status | cut -d ' ' -f 3 | xargs`
+for sub in $submodules; do
+ if [ ! -z $no_filter ]; then
+ git submodule summary $from $to $sub
+ else
+ git submodule summary $from $to $sub | egrep "\*|GEOS-|GEOT-|#"
+ echo
+ fi
+done
Please sign in to comment.
Something went wrong with that request. Please try again.