Skip to content

Commit 2c1750a

Browse files
committed
Specific MAINTAINERS file per version
1 parent 8eb1228 commit 2c1750a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

scripts/md2html/build.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,22 @@ mkdir -p deploy/js
1111
cd scripts/md2html
1212
mkdir -p history
1313
git show c740e95:MAINTAINERS.md > history/MAINTAINERS_v2.0.md
14-
git show e9fe5bc:MAINTAINERS.md > history/MAINTAINERS_v3.x.md
14+
git show e9fe5bc:MAINTAINERS.md > history/MAINTAINERS_v3.0.0.md
15+
cp history/MAINTAINERS_v3.0.0.md history/MAINTAINERS_v3.0.1.md
16+
git show 3140640:MAINTAINERS.md > history/MAINTAINERS_v3.0.2.md
17+
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.0.3.md
18+
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.0.3.md
19+
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.1.0.md
20+
# add lines for 3.0.4, 3.1.1, ...
21+
1522
cp -p js/* ../../deploy/js 2> /dev/null
1623
cp -p markdown/* ../../deploy/ 2> /dev/null
1724

18-
node md2html.js --respec --maintainers ./history/MAINTAINERS_v2.0.md ../../versions/2.0.md > ../../deploy/oas/v2.0.html
19-
2025
latest=`git describe --abbrev=0 --tags`
2126
latestCopied=none
22-
for filename in ../../versions/[3456789].*.md ; do
27+
for filename in ../../versions/[23456789].*.md ; do
2328
version=$(basename "$filename" .md)
24-
node md2html.js --respec --maintainers ./history/MAINTAINERS_v3.x.md ${filename} > ../../deploy/oas/v$version.html
29+
node md2html.js --respec --maintainers ./history/MAINTAINERS_v$version.md ${filename} > ../../deploy/oas/v$version.html
2530
if [ $version = $latest ]; then
2631
if [[ ${version} != *"rc"* ]];then
2732
# version is not a Release Candidate

0 commit comments

Comments
 (0)