Skip to content

Commit

Permalink
remove brew
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Dec 12, 2024
1 parent 662f921 commit b522bd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,38 +286,9 @@ jobs:
name: screenpipe-linux-${{ matrix.target }}
path: screenpipe-*.tar.gz

update-homebrew:
needs: [build-macos, build-linux, build-windows]
runs-on: macos-latest
steps:
- name: Set version
run: |
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
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "Set version to: $VERSION"
- name: Update Homebrew Formula
env:
GH_TOKEN: ${{ secrets.PAT }}
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.PAT }}
run: |
brew update
brew bump-formula-pr screenpipe \
--version="${VERSION}" \
--message="Automated update to version ${VERSION}" \
--no-browse \
--force || true
release:
runs-on: ubuntu-latest
needs: [build-macos, build-windows, build-linux, update-homebrew]
needs: [build-macos, build-windows, build-linux]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resolver = "2"


[workspace.package]
version = "0.2.13"
version = "0.2.14"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/mediar-ai/screenpipe"
Expand Down

0 comments on commit b522bd5

Please sign in to comment.