Fix rules_java release pipeline config (#2137)

This enables making releases at specific points even if the branch has
moved ahead.

Before this change, the release would always be made at the HEAD of
chosen branch, we should instead to do so at the specific commit that
the workflow is executed on.
1 file changed