Skip to content

Commit c38e79d

Browse files
authored
Merge pull request #2221 from wilzbach/release-schedule
Add a release schedule to the changelog pages merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2 parents 0242104 + e262a8a commit c38e79d

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

changelog/changelog.ddoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ CHANGELOG_NAV_FIRST=$(DIVC changelog-nav, next version: $(A $1.html, $1))
88
CHANGELOG_NAV_LAST=$(DIVC changelog-nav, previous version: $(A $1.html, $1))
99

1010
SUBNAV=$(SUBNAV_TEMPLATE
11-
$(SUBNAV_HEAD Change Log, $(ROOT_DIR)changelog/index.html, List of all versions, )
11+
$(SUBNAV_HEADS Change Log,
12+
$(LINK2 $(ROOT_DIR)changelog/index.html, List of all versions)
13+
$(BR)
14+
$(LINK2 $(ROOT_DIR)changelog/release-schedule.html, Release schedule)
15+
)
1216
$(UL $(CHANGELOG_VERSIONS))
1317
)
1418

@@ -73,3 +77,9 @@ _=
7377
CHANGELOG_VERSION = $(LI <a id="$1" href="$1.html">$1</a><span class="hide-from-nav"> ($2, $3)</span>)
7478
CHANGELOG_VERSION_PRE = $(LI <a id="$1" href="$1.html" style="display: inline-block">$1</a> (preview) <span class="hide-from-nav"> - scheduled for $+</span>)
7579
CHANGELOG_VERSION_NIGHTLY = $(LI <a id="pending" href="pending.html">Nightly</a> <span class="hide-from-nav"> (preview) - upcoming changes from $(D master)</span>)
80+
81+
SUBNAV_HEADS=
82+
$(DIVC head,
83+
$(H2 $1)
84+
$(P $+)
85+
)

changelog/release-schedule.dd

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Ddoc
2+
3+
$(D_S $(TITLE),
4+
5+
$(UL
6+
$(LI New release are published every $(I two) months, on the first day of every uneven month.)
7+
$(LI Two weeks before a new release `master` is merged into `stable` and a first beta is released.)
8+
$(LI Point releases are published unscheduled when important issues or regressions get fixed.)
9+
)
10+
11+
$(P The release schedule for 2018 is as follows:)
12+
13+
$(DIVC release-schedule,
14+
$(TABLE
15+
$(MINOR_RELEASE 2018-03-01, 2.079.0)
16+
$(BETA_RELEASE 2018-04-15, 2.080.0)
17+
$(MINOR_RELEASE 2018-05-01, 2.080.0)
18+
$(BETA_RELEASE 2018-06-15, 2.081.0)
19+
$(MINOR_RELEASE 2018-07-01, 2.081.0)
20+
$(BETA_RELEASE 2018-08-15, 2.082.0)
21+
$(MINOR_RELEASE 2018-09-01, 2.082.0)
22+
$(BETA_RELEASE 2018-10-15, 2.083.0)
23+
$(MINOR_RELEASE 2018-11-01, 2.083.0)
24+
$(BETA_RELEASE 2018-12-15, 2.084.0)
25+
$(MINOR_RELEASE 2019-01-01, 2.084.0)
26+
)
27+
)
28+
)
29+
30+
Macros:
31+
TITLE=D release schedule
32+
MINOR_RELEASE=$(ROW minor, $1, $2, minor release)
33+
BETA_RELEASE=$(ROW beta, $1, $2-beta.1, first beta for $2)
34+
ROW=<tr class="release-schedule-$1">$(TDX2 $+)</tr>
35+
TDX2=$(TDX $1, $+)
36+
EXTRA_HEADERS=$(T style,
37+
.release-schedule table {
38+
margin: 0 auto;
39+
}
40+
.release-schedule-minor {
41+
font-weight: bold;
42+
}
43+
.release-schedule-beta {
44+
color: #5f0303;
45+
}
46+
)

posix.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ SPEC_ROOT=$(addprefix spec/, \
348348
abi simd betterc)
349349
SPEC_DD=$(addsuffix .dd,$(SPEC_ROOT))
350350

351-
CHANGELOG_FILES:=$(basename $(subst _pre.dd,.dd,$(wildcard changelog/*.dd)))
351+
CHANGELOG_FILES:=$(basename $(subst _pre.dd,.dd,$(wildcard changelog/*.dd))) changelog/release-schedule
352352
ifneq (1,$(RELEASE))
353353
CHANGELOG_FILES+=changelog/pending
354354
endif

0 commit comments

Comments
 (0)