Skip to content

Commit

Permalink
workflow: ensure syncs are committed before release
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 26, 2018
1 parent c4fa6b2 commit 3a2c6cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const release = async () => {
local: true,
skipPrompt: true
})
delete process.env.PREFIX
await execa('git', ['add', '-A'], { stdio: 'inherit' })
await execa('git', ['commit', '-m', 'chore: pre release sync'], { stdio: 'inherit' })
}

const lernaBinPath = require.resolve('lerna/bin/lerna')
Expand Down

0 comments on commit 3a2c6cd

Please sign in to comment.