There are not specific versions of the plugin corresponding to specific minor versions of Gerrit, but the stable-2.x branch of the plugin *should* be compatible with all 2.x.y versions of Gerrit.
In other words, you should be able to build the head of the plugin's stable-2.12 branch, and use it with gerrit 2.12.7.
Alternatively, you can download a prebuilt jar of the latest stable.2-12 from CI here:
In the case that it doesn't work (sometimes we do get the occasional API breakage between minor versions) you'd have to bisect back to find the point where it broke, and build from the commit before that. But lets cross that bridge when/if we come to it...