forked from geosolutions-it/geoserver-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add report.sh script: produce report for releases
- Loading branch information
1 parent
3f90df9
commit ba8f17c
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/sh | ||
if [ "$#" -ne 3 ]; then | ||
echo " | ||
Generates git log report between two tags: | ||
USAGE: | ||
$0 {START_TAG} {STOP_TAG|HEAD} {MESSAGE DESCRIPTION}" | ||
exit 1 | ||
fi | ||
|
||
echo "What's new? | ||
=========== | ||
$3 | ||
Where can I get it? | ||
=================== | ||
* Home: | ||
https://github.com/geosolutions-it/geoserver-manager | ||
* Download: | ||
https://github.com/geosolutions-it/geoserver-manager/releases | ||
* Documentation: | ||
https://github.com/geosolutions-it/geoserver-manager/wiki | ||
Who contributed to this release? | ||
================================ | ||
* List authors of this release | ||
" | ||
git log $1..$2 --pretty="format:* %aN" | sort | uniq | ||
|
||
echo " | ||
======================== | ||
CHANGES IN THIS RELEASE: | ||
======================== | ||
" | ||
git log $1..$2 --no-merges --pretty=oneline --reverse --grep fix --grep improve --grep close --grep "#" --grep add --format='* %s' . | ||
|
||
exit $? |