Skip to content

Commit

Permalink
fix: commit message is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 9, 2024
1 parent 9f69fc7 commit 96cbf4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class Github {
}

// Clone the repo
await runShellCommand({ command: `git clone --depth 1 git@github.com:${this.context.repo}.git ${shellOptions.cwd}`, ...shellOptions });
await runShellCommand({ command: `GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 git@github.com:${this.context.repo}.git ${shellOptions.cwd}`, ...shellOptions });
} else {
await runShellCommand({ command: 'git checkout master', ...shellOptions });
await runShellCommand({ command: 'git reset --hard', ...shellOptions });
Expand Down Expand Up @@ -505,8 +505,8 @@ class Github {
const { before = null, after = null} = libsBeforeAfter[lib] || {};

let commitMessage = `chore(🦾): bump python ${lib} ${before} -> ${after}`;
if (before && before === after) {
let commitMessage = `chore(🦾): bump python ${lib} subpackage(s)`;
if (before === null || before === after) {
commitMessage = `chore(🦾): bump python ${lib} subpackage(s)`;
}

// Create branch
Expand Down

0 comments on commit 96cbf4c

Please sign in to comment.