Adding auto publish logic
Force land for ruby issue workaround