-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jamie 4.0.3 #168433
jamie 4.0.3 #168433
Conversation
@krehel Hi, do you have some automation for bumping casks or do you do it manually? I'm trying to build one too for that cask. |
@antonengelhardt The cask can be added to our |
@bevanjkay Ok, thanks. And then I probably have to set up the autobump.yaml workflow too? |
@antonengelhardt There's an action that @BrewTestBot runs that handles the opening of the PR and bumping. |
Not sure how often this gets bumped. I try to "re-balance" the You're always free to set up something on your side to open a PR on an update for this. Please don't do any mass automation though! 😄 Raycast do something similar - you can see #167314 as an example. Edit: a few of us maintainers try to run bump cycles of Casks not in the |
@krehel Just started with this: https://github.com/antonengelhardt/jamie-release/blob/main/.github/workflows/brew.yaml Only problem is with git i believe... (as you can see in the second latest workflow run) |
Ok, im using Raycast and just simplified my approach with a Script Command that runs every hour: #!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Bump jamie
# @raycast.mode inline
# @raycast.refreshTime 1h
# Optional parameters:
# @raycast.icon 🚀
# @raycast.packageName homebrew
# Documentation:
# @raycast.description Bump Jamie to a new version
# @raycast.author Anton Engelhardt
# @raycast.authorURL github.com/antonengelhardt
# echo "Switching directory to jamie-release"
cd ~/Documents/repos/jamie-release
git fetch >> /dev/null 2>&1
git pull >> /dev/null 2>&1
# echo "Getting latest tag"
latest_tag=$(gh release list --exclude-pre-releases --exclude-drafts --limit 1 --json tagName | jq .[0].tagName | grep -oE '[0-9]\.[0-9]\.[0-9]')
# echo "Latest tag is $latest_tag"
rm /tmp/bump-jamie-output.txt
# echo "Bumping Jamie to $latest_tag"
# bump the cask and print the output to a variable
brew bump-cask-pr jamie --version=$latest_tag --no-browse >> /tmp/bump-jamie-output.txt 2>&1
# if exit code is 0, then return the link to the PR
if [ $? -eq 0 ]; then
echo "Bump successful"
pr_link=$(cat /tmp/bump-jamie-output.txt | grep -oE 'https://github.com/Homebrew/homebrew-cask/pull/[0-9]+')
echo "Success: $pr_link"
# if output contains the word duplicate, another PR is already open
elif grep -q "duplicate" /tmp/bump-jamie-output.txt; then
# pr_link=$(cat /tmp/bump-jamie-output.txt | grep -oE 'https://github.com/Homebrew/homebrew-cask/pull/[0-9]+')
echo "Duplicate PR"
else
echo "Bump unsuccessful"
fi Thanks for your answers! |
Created with
brew bump-cask-pr
.