Backport squashed releasing mechanism from topic branches

[#DO_RELEASE]