mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-25 13:12:55 +00:00
⚙️ 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:
1 parent
e50adceca0
commit
0da79b9888
8 files changed
+20
-10
No files matched your search
@@ -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'
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user