promptops / cli

um is a GPT-powered CLI assistant. Ask questions in plain English, get the perfect shell command.
https://promptops.com
GNU General Public License v3.0
122 stars 3 forks source link

`brew upgrade` won't pull in new changes with a sha-only update #3

Closed wgordon17 closed 1 year ago

wgordon17 commented 1 year ago

Given the issue and fix to support fish (https://www.reddit.com/r/devops/comments/13q48o5/comment/jldymhz/?utm_source=share&utm_medium=web2x&context=3), I was instructed to just brew upgrade promptops/promptops/promptops-cli. Unfortunately, that didn't work

$ brew upgrade promptops/promptops/promptops-cli

Warning: promptops/promptops/promptops-cli 0.1.2 already installed

because the only thing that changed was the sha: https://github.com/promptops/homebrew-promptops/commit/f3bb94ae423a8e58c588d6e81b641d18746915d8

jj-ctrlstack commented 1 year ago

@wgordon17 Thanks for reporting this! We'll definitely get better with release versions, but just as a quick workaround do you mind trying to uninstall and then brew install?

wgordon17 commented 1 year ago

@jj-ctrlstack My apologies, I performed said uninstall/install dance already, and was able to successfully upgrade the CLI. I was just reporting this mostly as an FYI 😉

jj-ctrlstack commented 1 year ago

Got it! Appreciate you reporting the issue and we'll definitely resolve, I wasn't aware brew behaves this way. I'll keep this open until we resolve in case someone else runs into this. Thank you!

basilisk487 commented 1 year ago

@wgordon17 we've updated the homebrew release