Skip to content

Commit 0044bcd

Browse files
oschwaldclaude
andcommitted
Stop regenerating gh-pages index.md in release script
Hugo on `main` now owns the Pages index, so the release script no longer needs to write a Jekyll front-matter wrapper around README.md on the gh-pages branch. The Javadoc-publishing block that creates `doc/$tag/` and updates the `doc/latest` symlink is unchanged — that versioned tree continues to live on gh-pages and is preserved by the new workflow's `keep_files: true`. For STF-448. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 695fff7 commit 0044bcd

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

dev-bin/release.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,6 @@ if [ "$should_continue" != "y" ]; then
118118
exit 1
119119
fi
120120

121-
page=.gh-pages/index.md
122-
cat <<EOF >$page
123-
---
124-
layout: default
125-
title: MaxMind DB Java API
126-
language: java
127-
version: $tag
128-
---
129-
130-
EOF
131-
132121
mvn versions:set -DnewVersion="$version"
133122

134123
perl -pi -e "s/(?<=<version>)[^<]*/$version/" README.md
@@ -137,8 +126,6 @@ perl -pi -e "s/(?<=com\.maxmind\.db\:maxmind-db\:)\d+\.\d+\.\d+([\w\-]+)?/$versi
137126
# Update japicmp.baselineVersion for API compatibility checking
138127
perl -pi -e "s/(<japicmp\.baselineVersion>)[^<]*(<\/japicmp\.baselineVersion>)/\${1}$version\${2}/" pom.xml
139128

140-
cat README.md >>$page
141-
142129
git diff
143130

144131
read -r -n 1 -p "Commit changes? " should_commit

0 commit comments

Comments
 (0)