File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,10 @@ PHOBOSPR = $(PULL_REQUEST phobos,$1)
6363_=
6464
6565CHANGELOG_VERSION = $(LI <a id="$1" href="$1.html">$1</a><span class="hide-from-nav"> ($2, $3)</span>)
66+ CHANGELOG_VERSION_PRE = $(LI <a id="$1" href="$1_pre.html">$1</a><span class="hide-from-nav"> ($+)</span>)
6667_=BEGIN_GENERATED_CHANGELOG_VERSIONS
6768CHANGELOG_VERSIONS =
69+ $(CHANGELOG_VERSION_PRE 2.075.0, not yet released)
6870 $(CHANGELOG_VERSION 2.074.1, May 30, 2017)
6971 $(CHANGELOG_VERSION 2.074.0, Apr 10, 2017)
7072 $(CHANGELOG_VERSION 2.073.2, Mar 09, 2017)
Original file line number Diff line number Diff line change 3434IFS=$' \n '
3535rev_all_vers=($( sort --reverse <<< " ${all_vers[*]}" ) )
3636rev_rel_vers=($( sort --reverse <<< " ${rel_vers[*]}" ) )
37+ rev_pre_vers=($( ls -- * _pre.dd | sort --reverse) )
3738unset IFS
3839
3940# update index of all changlogs
4041sed -i ' /BEGIN_GENERATED_CHANGELOG_VERSIONS/,/END_GENERATED_CHANGELOG_VERSIONS/d' changelog.ddoc
4142echo ' _=BEGIN_GENERATED_CHANGELOG_VERSIONS' >> changelog.ddoc
4243echo ' CHANGELOG_VERSIONS =' >> changelog.ddoc
44+ for ver in " ${rev_pre_vers[@]} " ; do
45+ echo " \$ (CHANGELOG_VERSION_PRE ${ver% _pre.dd} , not yet released)" >> changelog.ddoc
46+ done
4347for ver in " ${rev_rel_vers[@]} " ; do
4448 echo " \$ (CHANGELOG_VERSION ${ver% .dd} )" >> changelog.ddoc
4549done
You can’t perform that action at this time.
0 commit comments