Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand Down
2 changes: 1 addition & 1 deletion site-svelte/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion site-svelte/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
],
Expand Down
4 changes: 2 additions & 2 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -934,7 +934,7 @@ <h2 class="section-title" data-i18n="install_title">Install in seconds</h2>
<div class="install-card-header">Pre-commit</div>
<pre><span class="comment"># .pre-commit-config.yaml</span>
- <span class="flag">repo</span>: https://github.com/TurtleTech-ehf/snapper
<span class="flag">rev</span>: v0.3.1
<span class="flag">rev</span>: v0.11.8
<span class="flag">hooks</span>:
- <span class="flag">id</span>: snapper</pre>
</div>
Expand Down
Loading