Skip to content

Commit

Permalink
ci: replace cask-repair with bump-cask-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed Nov 2, 2024
1 parent 9b7e825 commit a966de9
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions scripts/update_homebrew_cask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

set -ex

brew update
brew install vitorgalvao/tiny-scripts/cask-repair

version="$(cat $VERSION_FILE)"

if [ "$TRAVIS" = true ] ; then
# add github ssh key
echo "$GITHUB_SSH_KEY" | base64 --decode > github_ssh
chmod 600 github_ssh
ssh-add -K github_ssh
fi
brew bump-cask-pr --version $version alt-tab

cask-repair --blind-submit --cask-version "$version" alt-tab
#brew update
#brew install vitorgalvao/tiny-scripts/cask-repair
#
#if [ "$TRAVIS" = true ] ; then
# # add github ssh key
# echo "$GITHUB_SSH_KEY" | base64 --decode > github_ssh
# chmod 600 github_ssh
# ssh-add -K github_ssh
#fi
#
#cask-repair --blind-submit --cask-version "$version" alt-tab

0 comments on commit a966de9

Please sign in to comment.