mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-10 22:09:31 +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'
|
if: steps.git-check.outputs.modified == 'true'
|
||||||
run: |
|
run: |
|
||||||
cat release-versions/hugo-latest.txt | \
|
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
|
- name: Create Pull Request
|
||||||
if: steps.git-check.outputs.modified == 'true'
|
if: steps.git-check.outputs.modified == 'true'
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.102.3
|
HUGO_VERSION: 0.165.0
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo CLI
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
[module]
|
[module]
|
||||||
[module.hugoVersion]
|
[module.hugoVersion]
|
||||||
extended = true
|
extended = true
|
||||||
min = "0.158.0"
|
min = "0.162.0"
|
||||||
max = "0.165.0"
|
max = "0.165.0"
|
||||||
@@ -26,6 +26,7 @@ disableTextInHeader = false
|
|||||||
# backgroundImageWidth = 1200
|
# backgroundImageWidth = 1200
|
||||||
|
|
||||||
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
|
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
|
||||||
|
# backgroundCanvas = false # render defaultBackgroundImage as a fixed backdrop on every page
|
||||||
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
|
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
|
||||||
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
|
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
|
||||||
hotlinkFeatureImage = false
|
hotlinkFeatureImage = false
|
||||||
@@ -53,7 +54,8 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
|||||||
# metaDescriptionOrder = ["summary", "description", "site"] # Controls the fallback order for the HTML meta description. Valid values are "summary", "description", and "site".
|
# metaDescriptionOrder = ["summary", "description", "site"] # Controls the fallback order for the HTML meta description. Valid values are "summary", "description", and "site".
|
||||||
|
|
||||||
[header]
|
[header]
|
||||||
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur, floating
|
||||||
|
# mobileMenuStyle = "fullscreen" # valid options: fullscreen, dropdown
|
||||||
|
|
||||||
[footer]
|
[footer]
|
||||||
showMenu = true
|
showMenu = true
|
||||||
@@ -63,7 +65,8 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
|||||||
showScrollToTop = true
|
showScrollToTop = true
|
||||||
|
|
||||||
[homepage]
|
[homepage]
|
||||||
layout = "profile" # valid options: page, profile, hero, card, background, custom
|
layout = "profile" # valid options: page, profile, hero, card, background, landing, custom
|
||||||
|
# layoutSwitcher = false # opt-in interactive preview of the built-in layouts
|
||||||
#homepageImage = "IMAGE.jpg" # used in: hero, and card
|
#homepageImage = "IMAGE.jpg" # used in: hero, and card
|
||||||
showRecent = false
|
showRecent = false
|
||||||
showRecentItems = 5
|
showRecentItems = 5
|
||||||
@@ -112,6 +115,7 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
|||||||
|
|
||||||
[list]
|
[list]
|
||||||
showHero = false
|
showHero = false
|
||||||
|
# featureImageHover = false # subtle zoom on card thumbnails on hover
|
||||||
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||||
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
|
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
|
||||||
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
|
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
module github.com/nunocoracao/blowfish/v2
|
module github.com/nunocoracao/blowfish/v3
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.159.1"
|
HUGO_VERSION = "0.165.0"
|
||||||
HUGO_THEMESDIR = "../.."
|
HUGO_THEMESDIR = "../.."
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "hugo-blowfish-theme",
|
"name": "hugo-blowfish-theme",
|
||||||
"version": "2.106.0",
|
"version": "3.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "hugo-blowfish-theme",
|
"name": "hugo-blowfish-theme",
|
||||||
"version": "2.106.0",
|
"version": "3.0.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hugo-blowfish-theme",
|
"name": "hugo-blowfish-theme",
|
||||||
"version": "2.106.0",
|
"version": "3.0.0",
|
||||||
"description": "Blowfish theme for Hugo.",
|
"description": "Blowfish theme for Hugo.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "vendor-copy",
|
"postinstall": "vendor-copy",
|
||||||
|
|||||||
Reference in new issue
Block a user