Closed murphye closed 2 years ago
No, I cannot confirm that - if you download the zip brew downloads at https://github.com/jbangdev/jbang/releases/download/v0.83.0/jbang-0.83.0.zip you'll see that it says 0.83.0 in the version.txt.
My guess is that you have jbang installed somewhere earlier in the path which is a 0.82.1 ?
Try run where jbang
and my guess is you have used curl (#1075) and its in ~/.jbang/bin
.
Actually - whats weird is the ":unneeded is deprecated" - that was removed in 0.83.0 (https://github.com/jbangdev/homebrew-tap/blob/main/Formula/jbang.rb)
Can you check what is in "/Users/eric.murphy/Library/Caches/Homebrew/downloads/ca9c7959cda0d6c50efd10175e7f7e014587965ff8fe73edb61eef11fe9e3c03--jbang-0.83.0.zip" because it might not be what it says it is ?
never mind - found the bug.
the formula incorrectly assinged a jar to what should be a directory so when running installed by brew jbang it would not find the jar and download jbang into ~/.jbang/bin/jbang.jar
thus any upgrades of brew would not find the actually brew installed jar.
That explains a few weird brew releated reports. Sorry about - will release a fix asap.
this was a regression somehow :/
Was originally fixed in https://github.com/jbangdev/jbang/issues/885 via https://github.com/jbangdev/jbang/commit/c697ce1e5a5e60aed8e0d071d653a95f006a5cb2 but somehow that fix got lost in move to jreleaser.
After upgrading, uninstalling and reinstalling, the binary is still
0.82.1
even though the package is/ca9c7959cda0d6c50efd10175e7f7e014587965ff8fe73edb61eef11fe9e3c03--jbang-0.83.0.zip