publish: close reg text change

generated from commit 082d9c2594ba1a4ffc97d6d87441872b86098b7b