The publish step was updating name and optionalDependencies but not version, causing npm to try publishing the base package.json version (3.11.0) instead of the release version (3.12.0). Error was: 'You cannot publish over the previously published versions: 3.11.0'