Skip to content

Commit

Permalink
workflow: re-enable pre-release sync
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 30, 2018
1 parent da6bd75 commit 279725c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const path = require('path')
const execa = require('execa')
const semver = require('semver')
const inquirer = require('inquirer')
// const { syncDeps } = require('./syncDeps')
const { syncDeps } = require('./syncDeps')
// const { buildEditorConfig } = require('./buildEditorConfig')

const curVersion = require('../lerna.json').version
Expand Down Expand Up @@ -78,17 +78,17 @@ const release = async () => {
}])

if (yes) {
// await syncDeps({
// version,
// local: true,
// skipPrompt: true
// })
await syncDeps({
version,
local: true,
skipPrompt: true
})
delete process.env.PREFIX

// buildEditorConfig()

await execa('git', ['add', '-A'], { stdio: 'inherit' })
// await execa('git', ['commit', '-m', 'chore: pre release sync'], { stdio: 'inherit' })
await execa('git', ['commit', '-m', 'chore: pre release sync'], { stdio: 'inherit' })
}

const lernaArgs = [
Expand Down

0 comments on commit 279725c

Please sign in to comment.