fix: automate create-oclif publishing
MODIFY
.circleci/release
.circleci/release
@@ -9,3 +9,5 @@ PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
yarn global add @oclif/semantic-release@2 semantic-release@15
yarn install --frozen-lockfile
semantic-release -e @oclif/semantic-release
+
+./scripts/release_create_oclif.js

ADD
scripts/release_create_oclif.js
+#!/usr/bin/env node
+
+const fs = require('fs-extra')
+const {execSync} = require('child_process')
+
+const pjson = fs.readJSONSync('package.json')
+pjson.name = 'create-oclif'
+fs.outputJSONSync('package.json', pjson, {spaces: 2})
+
+function x(cmd) {
+ execSync(cmd, {stdio: 'inherit'})
+}
+
+x('npm publish')

fix: automate create-oclif publishing