chore(scripts): configure commit author in publish-packs
This commit is contained in:
parent
1cdbe5de19
commit
c6f176f784
|
|
@ -164,7 +164,8 @@ try {
|
||||||
writeFileSync(join(work, '.gitattributes'), '*.png binary -diff\n*.json text eol=lf\n')
|
writeFileSync(join(work, '.gitattributes'), '*.png binary -diff\n*.json text eol=lf\n')
|
||||||
git(['add', '-A'], work)
|
git(['add', '-A'], work)
|
||||||
git([
|
git([
|
||||||
'-c', 'user.name=d2web', '-c', 'user.email=d2web@localhost',
|
'-c', `user.name=${process.env['GIT_AUTHOR_NAME'] ?? 'Dao Tao'}`,
|
||||||
|
'-c', `user.email=${process.env['GIT_AUTHOR_EMAIL'] ?? 'taodao@google.com'}`,
|
||||||
'commit', '-q', '-m',
|
'commit', '-q', '-m',
|
||||||
`烘焙图集包 ${stamp}:${String(stats.maps)} 个地图块(${(stats.bytes / 1048576).toFixed(1)} MB)
|
`烘焙图集包 ${stamp}:${String(stats.maps)} 个地图块(${(stats.bytes / 1048576).toFixed(1)} MB)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue