Set author for commits
This commit is contained in:
parent
89f8bc53fe
commit
38f409e8ce
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -25938,7 +25938,7 @@ function createRepresentativeCommit(sourceRepo, sourceCommit) {
|
||||
});
|
||||
try {
|
||||
// Do _not_ arbitrarily remove the `hash` - it's used for signalling identity in `main()`
|
||||
const args = `"${sourceRepo.owner}/${sourceRepo.name}: ${sourceCommit.message} - ${sourceCommit.hash}" --date="${(0, date_fns_1.format)(sourceCommit.date, 'yyyy-MM-dd HH:mm:ss')}"`;
|
||||
const args = `"${sourceRepo.owner}/${sourceRepo.name}: ${sourceCommit.message} - ${sourceCommit.hash}" --date="${(0, date_fns_1.format)(sourceCommit.date, 'yyyy-MM-dd HH:mm:ss')}" --author="${sourceCommit.author_name} <${sourceCommit.author_email}>"`;
|
||||
console.log(`About to commit with args ${args}`);
|
||||
// https://github.com/Shpota/github-activity-generator/blob/main/contribute.py#L63
|
||||
// "%Y-%m-%d %H:%M:%S"
|
||||
|
BIN
node_modules/@vercel/ncc/dist/ncc/cli.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/cli.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/index.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/index.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache
generated
vendored
Binary file not shown.
@ -232,7 +232,7 @@ function createRepresentativeCommit(sourceRepo: Repo,sourceCommit: Commit) {
|
||||
|
||||
try {
|
||||
// Do _not_ arbitrarily remove the `hash` - it's used for signalling identity in `main()`
|
||||
const args = `"${sourceRepo.owner}/${sourceRepo.name}: ${sourceCommit.message} - ${sourceCommit.hash}" --date="${format(sourceCommit.date, 'yyyy-MM-dd HH:mm:ss')}"`;
|
||||
const args = `"${sourceRepo.owner}/${sourceRepo.name}: ${sourceCommit.message} - ${sourceCommit.hash}" --date="${format(sourceCommit.date, 'yyyy-MM-dd HH:mm:ss')}" --author="${sourceCommit.author_name} <${sourceCommit.author_email}>"`;
|
||||
console.log(`About to commit with args ${args}`);
|
||||
// https://github.com/Shpota/github-activity-generator/blob/main/contribute.py#L63
|
||||
// "%Y-%m-%d %H:%M:%S"
|
||||
|
Loading…
x
Reference in New Issue
Block a user