mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Improve log messages (#730)
This commit is contained in:
+2
-2
@@ -195,7 +195,7 @@ export class GitHub {
|
||||
if (authorIdentity.exitCode === 0 && committerIdentity.exitCode === 0) {
|
||||
return;
|
||||
}
|
||||
core.info("Setting Git user to github-actions[bot]");
|
||||
core.info("Setting git user to github-actions[bot]");
|
||||
await exec("git", ["config", "user.name", `"github-actions[bot]"`], {
|
||||
cwd: this.cwd,
|
||||
});
|
||||
@@ -222,7 +222,7 @@ export class GitHub {
|
||||
})
|
||||
.catch((err) => {
|
||||
// Assuming tag was manually pushed in custom publish script
|
||||
core.warning(`Failed to create tag ${tag}: ${err.message}`);
|
||||
core.warning(`Failed to create git tag "${tag}": ${err.message}`);
|
||||
});
|
||||
}
|
||||
await exec("git", ["push", "origin", tag], {
|
||||
|
||||
Reference in New Issue
Block a user