Menu
Commit 1b58ade8
1b58ade83b131493f9717dad4139c8affb6cfbc4 by Claude Code
- Cargo.lock +4 -4
- Cargo.toml +1 -1
- VERSION +1 -1
- deploy.sh +14 -2
- site/backend/page.json +1 -1
diff --git a/Cargo.lock b/Cargo.lock
index 85e2d3f..f5ec005 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -31,7 +31,7 @@ version = "0.8.1"
[[package]]
name = "akurai-notes"
-version = "0.0.3"
+version = "0.0.4"
dependencies = [
"akurai-http",
"akurai-json",
@@ -73,7 +73,7 @@ dependencies = [
[[package]]
name = "notes-api"
-version = "0.0.3"
+version = "0.0.4"
dependencies = [
"akurai-collections",
"akurai-http",
@@ -89,7 +89,7 @@ dependencies = [
[[package]]
name = "notes-core"
-version = "0.0.3"
+version = "0.0.4"
dependencies = [
"akurai-json",
"akurai-schema",
@@ -98,7 +98,7 @@ dependencies = [
[[package]]
name = "notes-mcp"
-version = "0.0.3"
+version = "0.0.4"
dependencies = [
"akurai-http",
"akurai-json",
diff --git a/Cargo.toml b/Cargo.toml
index 51db241..7ed8d76 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/notes-core", "crates/notes-api", "crates/notes-cli", "crates/notes-mcp"]
[workspace.package]
-version = "0.0.3"
+version = "0.0.4"
edition = "2021"
license = "MIT"
repository = "https://github.com/olibuijr/AkurAI-Notes"
diff --git a/VERSION b/VERSION
index bcab45a..81340c7 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.3
+0.0.4
diff --git a/deploy.sh b/deploy.sh
index bcb182a..3fb43a4 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -47,8 +47,20 @@ build_musl() {
ship_binary() {
[ -d site/frontend ] || die "site/frontend not found"
- ssh "$HOST" 'sudo systemctl stop akurai-notes-mcp.service 2>/dev/null || true'
- akurai-ec2 deploy-binary "$NAME" "$MUSL" "$PORT" site
+ say "Ship: binary + site assets"
+ ssh "$HOST" 'sudo bash -s' <<'PREP'
+set -euo pipefail
+mkdir -p /opt/akurai-notes/bin /opt/akurai-notes/app
+chown -R ubuntu:ubuntu /opt/akurai-notes
+systemctl stop akurai-notes-mcp.service 2>/dev/null || true
+systemctl stop akurai-notes.service 2>/dev/null || true
+if [ -f /opt/akurai-notes/bin/akurai-notes ]; then
+ cp -p /opt/akurai-notes/bin/akurai-notes /opt/akurai-notes/bin/akurai-notes.prev
+fi
+PREP
+ scp -q "$MUSL" "$HOST:/tmp/akurai-notes.new"
+ ssh "$HOST" 'sudo install -m 755 -o ubuntu -g ubuntu /tmp/akurai-notes.new /opt/akurai-notes/bin/akurai-notes && rm -f /tmp/akurai-notes.new'
+ (cd site && tar czf - .) | ssh "$HOST" 'rm -rf /opt/akurai-notes/app && mkdir -p /opt/akurai-notes/app && tar xzf - -C /opt/akurai-notes/app && sudo chown -R ubuntu:ubuntu /opt/akurai-notes/app'
}
ensure_env_file() {
diff --git a/site/backend/page.json b/site/backend/page.json
index c2dba68..e93c53c 100644
--- a/site/backend/page.json
+++ b/site/backend/page.json
@@ -1,7 +1,7 @@
{
"title": "AkurAI-Notes — Private notes with semantic search",
"description": "Private notes with semantic search — running on your own server, never scanned by a third party.",
- "version": "v0.0.3",
+ "version": "v0.0.4",
"url": "https://akurai-notes.olibuijr.com",
"year": 2026,
"brand_name": "AkurAI-Notes",