Have you tried asking the people upstream to tag releases? Homebrew methodology generally frowns on using an arbitrary commit.