Skip to content

Commit 1800997

Browse files
committed
FIX: Avoid requiring milestone
1 parent 0ad7e3b commit 1800997

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/update_changes.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ echo $HEADER >> newchanges
2525
echo $( printf "%${#HEADER}s" | tr " " "=" ) >> newchanges
2626
echo >> newchanges
2727

28-
if [[ "x$2" != "x" ]]; then
28+
MILESTONE=${2:-""}
29+
if [[ "x$MILESTONE" != "x" ]]; then
2930
echo "(\`Full changelog <https://github.com/nipy/nipype/milestone/$2?closed=1>\`__)" >> newchanges
3031
echo >> newchanges
3132
fi

0 commit comments

Comments
 (0)