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
Louis Beaumont0813857ceea2
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex c966c0f8a..c71d532e4 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -216,11 +216,6 @@ jobs:- name: Checkout codeuses: actions/checkout@v2- - name: Download Artifacts- uses: actions/download-artifact@v2- with:- name: screenpipe-linux-- name: Download macOS Artifact Inteluses: actions/download-artifact@v2with:@@ -231,27 +226,24 @@ jobs:with:name: screenpipe-macos-aarch64-apple-darwin- - name: Download Windows Artifact- uses: actions/download-artifact@v2- with:- name: screenpipe-windows-- - name: Set Version- shell: bash+ # get the current tag or take latest (in the case of a workflow dispatch)+ - name: Set versionrun: |- if [[ $GITHUB_REF_NAME != v* ]]; then- VERSION=$(git describe --tags --abbrev=0)+ if [[ $GITHUB_REF == refs/tags/* ]]; then+ VERSION=${GITHUB_REF#refs/tags/v}+ else+ VERSION=$(git ls-remote --tags --refs --sort="version:refname" | tail -n1 | sed 's/.*\///' | sed 's/^v//')+ fi+ if [[ -z "$VERSION" ]]; then+ VERSION="0.0.0"fi- VERSION=${VERSION#v}echo "VERSION=$VERSION" >> $GITHUB_ENV- echo "RELEASE_VERSION=$(echo ${VERSION} | cut -f1 -d-)" >> $GITHUB_ENV+ echo "Set version to: $VERSION"- name: Create or update Releaseenv:GH_TOKEN: ${{ secrets.PAT }}run: |- gh release create ${{ env.RELEASE_VERSION }} --title ${{ env.RELEASE_VERSION }} --generate-notes- gh release upload ${{ env.RELEASE_VERSION }} screenpipe-linux.tar.gz- gh release upload ${{ env.RELEASE_VERSION }} screenpipe-macos-x86_64-apple-darwin- gh release upload ${{ env.RELEASE_VERSION }} screenpipe-macos-aarch64-apple-darwin- gh release upload ${{ env.RELEASE_VERSION }} screenpipe-windows.zip+ gh release create ${{ env.VERSION }} --title ${{ env.VERSION }} --generate-notes+ gh release upload ${{ env.VERSION }} screenpipe-macos-x86_64-apple-darwin+ gh release upload ${{ env.VERSION }} screenpipe-macos-aarch64-apple-darwin