Skip to content

Commit

Permalink
Update CHANGES [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Feb 16, 2018
1 parent fc5f302 commit 02c884f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.10.2 (February 15, 2018)
==========================

* [ENH] Add warning about mounting relative paths (#690)
* [FIX] Sanitize inputs (#687)
* [DOC] Fix documentation to use --version instead of -v (#688)

0.10.1
======

Expand Down
8 changes: 5 additions & 3 deletions update-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ set -e # Exit immediately if a command exits with a non-zero status.
set -u # Treat unset variables as an error when substituting.
set -x # Print command traces before executing command.

echo "$1" >> newchanges
echo $( printf "%${#1}s" | tr " " "=" ) >> newchanges
# Elaborate today's release header
HEADER="$1 ($(date '+%B %d, %Y'))"
echo $HEADER >> newchanges
echo $( printf "%${#HEADER}s" | tr " " "=" ) >> newchanges
echo "" >> newchanges

git log --grep="Merge pull request" `git describe --tags --abbrev=0`..HEAD --pretty='format: * %b %s' | sed 's/Merge pull request \#\([^\d]*\)\ from\ .*/(\#\1)/' >> newchanges
echo "" >> newchanges
echo "" >> newchanges
cat CHANGES.txt >> newchanges
mv newchanges CHANGES.txt
mv newchanges CHANGES.txt

0 comments on commit 02c884f

Please sign in to comment.