diff --git a/apps/remix-ide/ci/publish_plugin.ts b/apps/remix-ide/ci/publish_plugin.ts index d8a0d60b33..0b737d9943 100644 --- a/apps/remix-ide/ci/publish_plugin.ts +++ b/apps/remix-ide/ci/publish_plugin.ts @@ -100,10 +100,17 @@ import * as child_process from 'child_process' cwd: process.cwd() + '/remix-plugins-directory' }) console.log(out) - - out = await promisifyExec('ls -la', { + + out = await promisifyExec(`git checkout -b ${pluginName}${sha}`, { + cwd: process.cwd() + '/remix-plugins-directory' + }) + out = await promisifyExec('git add .', { cwd: process.cwd() + '/remix-plugins-directory' }) + out = await promisifyExec(`git commit -m "update profile ${pluginName} with url ${url}"`, { + cwd: process.cwd() + '/remix-plugins-directory' + }) + console.log(out) })() \ No newline at end of file