⚙️ Prepare v3 release: module path, version window, 3.0.0

Bump the Hugo module path to /v3, adopt a rolling latest-4 Hugo
version window (bot keeps it sliding), document new opt-in params,
and set package version to 3.0.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Nuno CoraçãoandClaude Fable 5 authored and Nuno C. committed 2026-08-17 20:19:02 +01:00
1 parent e50adceca0
commit 0da79b9888
8 files changed
+20 -10

No files matched your search

+7 -1
View File
@@ -34,7 +34,13 @@ jobs:
if: steps.git-check.outputs.modified == 'true'
run: |
cat release-versions/hugo-latest.txt | \
while read version; do sed -i'' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${version#v}\2/g" config.toml; done
while read version; do \
v="${version#v}"; \
minor="$(echo "$v" | cut -d. -f2)"; \
min_minor="$((minor - 3))"; \
sed -i'' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${v}\2/g" config.toml; \
sed -i'' -E "s/(min = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\10.${min_minor}.0\2/g" config.toml; \
done
- name: Create Pull Request
if: steps.git-check.outputs.modified == 'true'
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.102.3
HUGO_VERSION: 0.165.0
steps:
- name: Install Hugo CLI
run: |