Skip to content

Commit d2aafa7

Browse files
committed
feat: move i18n command to before:init
1 parent ef2bb6e commit d2aafa7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

release/.release-it.cjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ module.exports = {
2828
push: release,
2929
},
3030
hooks: {
31-
// 'before:init': [], // run before initialization
31+
'before:init': ['yarn i18n'], // run before initialization
3232
// 'after:[my-plugin]:bump': './bin/my-script.sh', // run after bumping version of my-plugin
3333
'after:bump': [
34-
'yarn i18n',
3534
'yarn build && echo ✅ build success',
3635
release
3736
? 'yarn sync:version && echo ✅ sync version success'

0 commit comments

Comments
 (0)