YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(ci): avoid SIGPIPE in release revision validation (#6559)
Ezra Ellettec7605cda1ee8
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 6f71ed2a2..9a135dcce 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -75,9 +75,9 @@ jobs:}MANIFEST_VERSION=$(git show "${RELEASE_SHA}:apps/screenpipe-app-tauri/src-tauri/Cargo.toml" |- sed -n 's/^version = "\([^"]*\)"/\1/p' | head -1)+ sed -n 's/^version = "\([^"]*\)"/\1/p')LOCK_VERSION=$(git show "${RELEASE_SHA}:apps/screenpipe-app-tauri/src-tauri/Cargo.lock" |- awk '/^name = "screenpipe-app"$/ { found=1; next } found && /^version = / { gsub(/"/, "", $3); print $3; exit }')+ awk '/^name = "screenpipe-app"$/ { found=1; next } found && /^version = / && !printed { gsub(/"/, "", $3); print $3; printed=1 }')if [[ -z "$MANIFEST_VERSION" || "$MANIFEST_VERSION" != "$LOCK_VERSION" ]]; thenecho "Cargo.toml version '$MANIFEST_VERSION' does not match Cargo.lock '$LOCK_VERSION'" >&2diff --git a/.github/workflows/release-enterprise.yml b/.github/workflows/release-enterprise.ymlindex 0ff467199..31f78645d 100644--- a/.github/workflows/release-enterprise.yml+++ b/.github/workflows/release-enterprise.yml@@ -71,9 +71,9 @@ jobs:}MANIFEST_VERSION=$(git show "${RELEASE_SHA}:apps/screenpipe-app-tauri/src-tauri/Cargo.toml" |- sed -n 's/^version = "\([^"]*\)"/\1/p' | head -1)+ sed -n 's/^version = "\([^"]*\)"/\1/p')LOCK_VERSION=$(git show "${RELEASE_SHA}:apps/screenpipe-app-tauri/src-tauri/Cargo.lock" |- awk '/^name = "screenpipe-app"$/ { found=1; next } found && /^version = / { gsub(/"/, "", $3); print $3; exit }')+ awk '/^name = "screenpipe-app"$/ { found=1; next } found && /^version = / && !printed { gsub(/"/, "", $3); print $3; printed=1 }')if [[ -z "$MANIFEST_VERSION" || "$MANIFEST_VERSION" != "$LOCK_VERSION" ]]; thenecho "Cargo.toml version '$MANIFEST_VERSION' does not match Cargo.lock '$LOCK_VERSION'" >&2