Skip to content

Commit b9cb6cc

Browse files
authored
Merge pull request #1769 from CyberShadow/pull-20170625-094321
Add pre-release version changelog to version list
2 parents 290e7ab + dc129ff commit b9cb6cc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

changelog/changelog.ddoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ PHOBOSPR = $(PULL_REQUEST phobos,$1)
6363
_=
6464

6565
CHANGELOG_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
6768
CHANGELOG_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)

changelog/update_nav.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,16 @@ done
3434
IFS=$'\n'
3535
rev_all_vers=($(sort --reverse <<<"${all_vers[*]}"))
3636
rev_rel_vers=($(sort --reverse <<<"${rel_vers[*]}"))
37+
rev_pre_vers=($(ls -- *_pre.dd | sort --reverse))
3738
unset IFS
3839

3940
# update index of all changlogs
4041
sed -i '/BEGIN_GENERATED_CHANGELOG_VERSIONS/,/END_GENERATED_CHANGELOG_VERSIONS/d' changelog.ddoc
4142
echo '_=BEGIN_GENERATED_CHANGELOG_VERSIONS' >> changelog.ddoc
4243
echo '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
4347
for ver in "${rev_rel_vers[@]}"; do
4448
echo " \$(CHANGELOG_VERSION ${ver%.dd})" >> changelog.ddoc
4549
done

0 commit comments

Comments
 (0)