ctx publish: finish all process before uploading tarball