diff --git a/scripts/release.sh b/scripts/release.sh index dc73cc3..4cec68f 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -60,7 +60,11 @@ echo "Bumping $BUMP version..." npm version "$BUMP" -m "chore: bump version to %s" --no-git-tag-version NEW_VERSION=$(node -p "require('./package.json').version") -git add package.json + +# Update version in marketing website +sed -i '' "s|||" website/index.html + +git add package.json website/index.html git commit -m "chore: bump version to $NEW_VERSION" git tag "v$NEW_VERSION" diff --git a/src/lib/components/Layout/Sidebar.svelte b/src/lib/components/Layout/Sidebar.svelte index 978feb0..aa42db3 100644 --- a/src/lib/components/Layout/Sidebar.svelte +++ b/src/lib/components/Layout/Sidebar.svelte @@ -6,9 +6,10 @@ interface Props { open: boolean; onClose?: () => void; + appVersion?: string; } - let { open, onClose }: Props = $props(); + let { open, onClose, appVersion }: Props = $props(); function setFilter(filter: NoteFilter) { selectedTag.set(null); @@ -83,4 +84,9 @@ {/if} + {#if appVersion} +