fix publish-transitions script