Skip to content

Commit 0f0c50a

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 phpDocumentor block that builds and publishes `doc/$tag/` 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 daeb59e commit 0f0c50a

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

dev-bin/release.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,18 +168,8 @@ php phpDocumentor.phar \
168168

169169
rm -rf "$cachedir"
170170

171-
page=index.md
172-
cat <<EOF >$page
173-
---
174-
layout: default
175-
title: MaxMind GeoIP2 PHP API
176-
language: php
177-
version: $tag
178-
---
179-
180-
EOF
181-
182-
cat ../README.md >>$page
171+
rm -f doc/latest
172+
ln -sfn "$tag" doc/latest
183173

184174
git add doc/
185175

0 commit comments

Comments
 (0)