Split/auto publish

LMS-11017 https://openedx.atlassian.net/browse/LMS-11017
Sorry, I meant directly using the `replace` function rather than the `for_branch` function because `for_branch` obliterates the `version_guid` and will lead to missed version conflicts.