We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
update_changes.sh
1 parent c68e3b9 commit 48f78d0Copy full SHA for 48f78d0
tools/update_changes.sh
@@ -23,7 +23,10 @@ UPCOMING=$?
23
HEADER="$1 ($(date '+%B %d, %Y'))"
24
echo $HEADER >> newchanges
25
echo $( printf "%${#HEADER}s" | tr " " "=" ) >> newchanges
26
-echo "" >> newchanges
+
27
+if [[ "x$2" != "x" ]]; then
28
+ echo "(\`Full changelog <https://github.com/nipy/nipype/milestone/$2?closed=1>\`__)" >> newchanges
29
+fi
30
31
# Search for PRs since previous release
32
git log --grep="Merge pull request" `git describe --tags --abbrev=0`..HEAD --pretty='format: * %b %s' | sed 's+Merge pull request \#\([^\d]*\)\ from\ .*+(https://github.com/nipy/nipype/pull/\1)+' >> newchanges
0 commit comments