How do I create homebrew bottle for old version on a new macOS version?
<p>I want to cause a bottle of zsh 5.1.1 to be created for Sierra because zsh 5.2 has a pretty bad bug that breaks certain functionality.</p>

<p>Sierra comes with zsh 5.2 which is broken for multibyte bindkey keystrokes (see: <a href="http://www.zsh.org/mla/users/2015/msg01400.html" rel="noreferrer">http://www.zsh.org/mla/users/2015/msg01400.html</a>). I've managed to get 5.1.1 to build from source on one machine but for broader distribution a Sierra bottle of zsh 5.1.1 would be much better until a new release of zsh comes out.</p>

<p>The bug not only prevents binding of utf-8 multibyte ascii characters (I use a lot of Option key combos) but blocks other characters from even being typed if they have the same initial byte.</p>

<p>I think this is the last version of the zsh recipe before the bug comes into play: <a href="https://github.com/Homebrew/homebrew-core/blob/1a4461ad2a0f1bc7074d9817db059147a31eeee6/Formula/zsh.rb" rel="noreferrer">https://github.com/Homebrew/homebrew-core/blob/1a4461ad2a0f1bc7074d9817db059147a31eeee6/Formula/zsh.rb</a></p>