Closed krushnarout closed 15 hours ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
screenpipe | ❌ Failed (Inspect) | Nov 20, 2024 3:03pm |
cool, great work!
how can i test this to make sure it works?
https://github.com/Homebrew/homebrew-core/pull/196345/files
@m13v any chance you can add the ui monitoring lib there? (maybe after this PR is merged)
think we need to send PR to brew official to add it
cool, great work!
how can i test this to make sure it works?
Thank you!
Use --dry-run
to test this locally without creating PR.
tmp_dir=$(mktemp -d)
cd "$tmp_dir"
export VERSION="0.1.99"
export GITHUB_REPOSITORY="mediar-ai/screenpipe"
export MATRIX_TARGET="x86_64-apple-darwin"
curl -LO "https://github.com/${GITHUB_REPOSITORY}/releases/download/v${VERSION}/screenpipe-${VERSION}-${MATRIX_TARGET}.tar.gz"
export SHA=$(shasum -a 256 screenpipe-*.tar.gz | cut -d ' ' -f 1)
export URL="https://github.com/${GITHUB_REPOSITORY}/releases/download/v${VERSION}/screenpipe-${VERSION}-${MATRIX_TARGET}.tar.gz"
# Added --dry-run to test without creating PR
brew bump-formula-pr screenpipe \
--version=${VERSION} \
--url="${URL}" \
--sha256="${SHA}" \
--message="Test: Update screenpipe to version ${VERSION} for ${MATRIX_TARGET}" \
--no-browse \
--no-audit \
--dry-run
cd -
rm -rf "$tmp_dir"
https://github.com/user-attachments/assets/ec844163-3307-42e1-8c55-cc111bf4b6ea
/approve thanks!
@louis030195: The claim has been successfully added to reward-all. You can visit your dashboard to complete the payment.
@krushnarout do you have any idea how to make this work for updating the linux brew too?
@krushnarout do you have any idea how to make this work for updating the linux brew too?
@louis030195 I’m not sure how to make it work for updating Linux brew at the moment. There's limited information available on this, but if I had more time to look into it, I might be able to find a solution.
@krushnarout fyi this does not work https://github.com/mediar-ai/screenpipe/actions/runs/11958214212
Homebrew/homebrew-core#198524 broken 😕
Hi @louis030195! I noticed you haven't released a new version yet, but you're trying to update the formula without one.
@krushnarout what do you mean?
release-cli usually required:
git tag v<my version>
git push origin v<my version>
and it would release to brew end-to-end
now it's just broken
i released 3 times, lost 1h of my day and it does not work
@krushnarout what do you mean?
release-cli usually required:
git tag v<my version> git push origin v<my version>
and it would release to brew end-to-end
now it's just broken
i released 3 times, lost 1h of my day and it does not work
I understand your frustration. I tried running a --dry-run
on my side, and it did show the SHA256 correctly. I mentioned this because I’ve checked how other formulas are updated when they release new versions. There isn’t much information available about this process, and it’s taken me a lot of time as well since Homebrew’s documentation isn’t very clear on this topic.
name: feat: automate brew formula update about: automate brew formula update title: "feat: automate brew formula update" labels: '' assignees: ''
description
automate brew formula update using
brew bump-formula-pr
Closes #692 /claim #692
type of change
checklist
additional notes
any other relevant information about the pr.