need a second $ for git status in release-candidate
(cherry picked from commit a0d3d9376bfd80070a95bfccbbd0f4144293b9bf)

rst fixes

(cherry picked from commit bb020fa602e4bb4db6ff15ab991c523dbad7fd85)