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

release-app-publish

Louis Beaumonte06e6932982a
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 7506c7a98..0a750b804 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -20,6 +20,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
should_release: ${{ steps.check.outputs.should_release }}
+ should_publish: ${{ steps.check.outputs.should_publish }}
steps:
- uses: actions/checkout@v4
with:
@@ -32,6 +33,11 @@ jobs:
else
echo "should_release=false" >> $GITHUB_OUTPUT
fi
+ if echo "$COMMIT_MSG" | grep -q "release-app-publish"; then
+ echo "should_publish=true" >> $GITHUB_OUTPUT
+ else
+ echo "should_publish=false" >> $GITHUB_OUTPUT
+ fi
generate_changelog:
needs: check_commit
@@ -474,33 +480,6 @@ jobs:
tauriScript: bunx tauri -vvv
retryAttempts: 3
- # - name: Get version from Cargo.toml
- # shell: bash
- # if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
- # run: |
- # VERSION=$(grep '^version = ' screenpipe-app-tauri/src-tauri/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
- # echo "VERSION=$VERSION" >> $GITHUB_ENV
-
- # - name: Upload screenpipe binary for signing
- # id: upload-unsigned-artifact
- # if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
- # uses: actions/upload-artifact@v4
- # with:
- # name: unsigned-screenpipe
- # path: ./screenpipe-app-tauri/src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis/screenpipe_${{ env.VERSION }}_x64-setup.exe
-
- # - name: Sign artifact
- # if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
- # uses: signpath/github-action-submit-signing-request@v1
- # with:
- # api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
- # organization-id: "9cd36272-53da-46a4-9d5c-a0870243ba97"
- # project-slug: "screenpipe"
- # signing-policy-slug: "test-signing"
- # github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
- # wait-for-completion: true
- # output-artifact-directory: "./screenpipe-app-tauri/src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis/screenpipe_${{ env.VERSION }}_x64-setup.exe"
-
- name: Upload Assets to CrabNebula Cloud
uses: crabnebula-dev/[email protected]
with:
@@ -508,8 +487,6 @@ jobs:
api-key: ${{ secrets.CN_API_KEY }}
path: ./screenpipe-app-tauri/src-tauri
-
-
retry-win:
needs: publish-tauri
if: ${{ always() && contains(needs.publish-tauri.result, 'failure') }}
@@ -746,3 +723,14 @@ jobs:
command: release upload ${{ secrets.CN_APP_SLUG }} --framework tauri
api-key: ${{ secrets.CN_API_KEY }}
path: ./screenpipe-app-tauri/src-tauri
+
+ publish-release:
+ needs: [check_commit, publish-tauri, retry-win]
+ if: always() && needs.check_commit.outputs.should_publish == 'true' && (needs.publish-tauri.result == 'success' || needs.retry-win.result == 'success')
+ runs-on: ubuntu-latest
+ steps:
+ - name: Publish Release on CrabNebula Cloud
+ uses: crabnebula-dev/[email protected]
+ with:
+ command: release publish ${{ secrets.CN_APP_SLUG }}
+ api-key: ${{ secrets.CN_API_KEY }}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 6f76790e5..433759295 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.20.0"
+version = "0.20.1"
description = ""
authors = ["you"]
license = ""