From 783e674a85b79aa68a60c2b225533b68abe3b535 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Sun, 4 Oct 2026 04:48:21 -0500 Subject: [PATCH] fix(site): pin the homepage to v0.11.8 The install card and schema.org version still named an old release. The bump hook updates those pins with the other rev lines. --- cog.toml | 4 +++- site-svelte/src/app.html | 2 +- site-svelte/src/routes/+page.svelte | 2 +- site/index.html | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/cog.toml b/cog.toml index 4e758df3..641875c8 100644 --- a/cog.toml +++ b/cog.toml @@ -12,7 +12,9 @@ pre_bump_hooks = [ "cargo update --workspace", "sed -i 's/^release = \".*\"/release = \"{{version}}\"/' docs/source/conf.py", # Only the rev under snapper's own repo line; other hooks keep their pins. - "sed -i '/repo: https:\\/\\/github.com\\/TurtleTech-ehf\\/snapper/{n;s/rev: v[0-9][0-9.\\-]*/rev: v{{version}}/}' README.md readme_src.org docs/orgmode/tutorials/quickstart.org docs/orgmode/howto/vale-integration.org docs/orgmode/howto/ci-enforcement.org", + "sed -i '/repo: https:\\/\\/github.com\\/TurtleTech-ehf\\/snapper/{n;s/rev: v[0-9][0-9.\\-]*/rev: v{{version}}/}' README.md readme_src.org docs/orgmode/tutorials/quickstart.org docs/orgmode/howto/vale-integration.org docs/orgmode/howto/ci-enforcement.org site-svelte/src/routes/+page.svelte", + "sed -i '/github.com\\/TurtleTech-ehf\\/snapper/{n;s/: v[0-9][0-9.]*/: v{{version}}/}' site/index.html", + "sed -i 's/\"softwareVersion\": \".*\"/\"softwareVersion\": \"{{version}}\"/' site-svelte/src/app.html site/index.html", "sed -i 's/\"version\": \".*\"/\"version\": \"{{version}}\"/' editors/vscode/package.json editors/obsidian/package.json editors/obsidian/manifest.json editors/word/package.json packages/snapper-wasm/package.json npm/package.json", ] diff --git a/site-svelte/src/app.html b/site-svelte/src/app.html index 458bca43..8543f88d 100644 --- a/site-svelte/src/app.html +++ b/site-svelte/src/app.html @@ -31,7 +31,7 @@ "operatingSystem": "Linux, macOS, Windows", "url": "https://snapper.turtletech.us", "downloadUrl": "https://crates.io/crates/snapper-fmt", - "softwareVersion": "0.3.2", + "softwareVersion": "0.11.8", "license": "https://opensource.org/licenses/MIT", "author": { "@type": "Organization", "name": "TurtleTech ehf", "url": "https://turtletech.us" }, "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" } diff --git a/site-svelte/src/routes/+page.svelte b/site-svelte/src/routes/+page.svelte index 59f4c0f0..9f9328fc 100644 --- a/site-svelte/src/routes/+page.svelte +++ b/site-svelte/src/routes/+page.svelte @@ -73,7 +73,7 @@ lines: [ { text: '# .pre-commit-config.yaml', type: 'comment' as const }, { text: '- repo: https://github.com/TurtleTech-ehf/snapper', type: 'flag' as const }, - { text: ' rev: v0.3.2', type: 'flag' as const }, + { text: ' rev: v0.11.8', type: 'flag' as const }, { text: ' hooks:', type: 'flag' as const }, { text: ' - id: snapper', type: 'flag' as const }, ], diff --git a/site/index.html b/site/index.html index 4dc54b52..b96cc6a2 100644 --- a/site/index.html +++ b/site/index.html @@ -31,7 +31,7 @@ "operatingSystem": "Linux, macOS, Windows", "url": "https://snapper.turtletech.us", "downloadUrl": "https://crates.io/crates/snapper-fmt", - "softwareVersion": "0.2.1", + "softwareVersion": "0.11.8", "license": "https://opensource.org/licenses/MIT", "author": { "@type": "Organization", @@ -934,7 +934,7 @@

Install in seconds

Pre-commit
# .pre-commit-config.yaml
 - repo: https://github.com/TurtleTech-ehf/snapper
-  rev: v0.3.1
+  rev: v0.11.8
   hooks:
     - id: snapper