workflow: ensure syncs are committed before release

This commit is contained in:
Evan You
2018-01-25 22:50:18 -05:00
parent c4fa6b208a
commit 3a2c6cd2d8

View File

@@ -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')