Skip to content

Commit 3a2c6cd

Browse files
committed
workflow: ensure syncs are committed before release
1 parent c4fa6b2 commit 3a2c6cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/release.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ const release = async () => {
4747
local: true,
4848
skipPrompt: true
4949
})
50+
delete process.env.PREFIX
51+
await execa('git', ['add', '-A'], { stdio: 'inherit' })
52+
await execa('git', ['commit', '-m', 'chore: pre release sync'], { stdio: 'inherit' })
5053
}
5154

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

0 commit comments

Comments
 (0)