Skip to content

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

fix(ci): clean R2 prefix before upload to prevent artifact accumulation, bump app to v2.2.124

Louis Beaumont2a3e333c3549
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 8bb4489d5..91c667806 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -1009,6 +1009,11 @@ jobs:
echo "uploading ${TARGET} bundles for v${VERSION} to R2..."
echo "aws cli: $(aws --version)"
+
+ # Clean any stale artifacts from previous (failed) runs for this version+target
+ echo "cleaning stale R2 artifacts at ${R2_PREFIX}/ ..."
+ aws s3 rm "${R2_PREFIX}/" --recursive --endpoint-url "$R2_ENDPOINT" 2>/dev/null || true
+
UPLOAD_FAILED=0
# Upload DMG
@@ -1049,6 +1054,10 @@ jobs:
Write-Host "uploading Windows bundles for v$version to R2..."
+ # Clean any stale artifacts from previous (failed) runs for this version+target
+ Write-Host "cleaning stale R2 artifacts at $r2Prefix/ ..."
+ aws s3 rm "$r2Prefix/" --recursive --endpoint-url $r2Endpoint 2>$null
+
# Upload ALL bundle artifacts (.exe, .nsis.zip, .sig files)
Write-Host "Files in nsis bundle dir:"
Get-ChildItem "$bundleDir/nsis" -ErrorAction SilentlyContinue | ForEach-Object {
@@ -1076,6 +1085,11 @@ jobs:
R2_PREFIX="s3://screenpipe-releases/releases/${VERSION}/${TARGET}"
echo "uploading Linux bundles for v${VERSION} to R2..."
+
+ # Clean any stale artifacts from previous (failed) runs for this version+target
+ echo "cleaning stale R2 artifacts at ${R2_PREFIX}/ ..."
+ aws s3 rm "${R2_PREFIX}/" --recursive --endpoint-url "$R2_ENDPOINT" 2>/dev/null || true
+
echo "bundle dir contents:"
find "${BUNDLE_DIR}" -type f 2>/dev/null || echo " (bundle dir not found)"
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 36406bfe8..e410210ee 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.2.123"
+version = "2.2.124"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""