Follow the pattern I did in https://github.com/edx/edx-platform/pull/1728 for publishing.