Skip to content

Commit

Permalink
Merge pull request #7 from Davidmattei/fix/fatal-delete-tag
Browse files Browse the repository at this point in the history
fix: delete tag not pushing
  • Loading branch information
acrobat authored Nov 25, 2022
2 parents d0f196c + 8f6c235 commit 1d45715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async function promiseAllInBatches(subtreeSplits: subtreeSplit[], batchSize: num
await exec('git', ['clone', split.target, '.'], { cwd: clonePath});

if (await tagExists(tag, clonePath)) {
await exec('git', ['push', '--delete', tag], { cwd: clonePath});
await exec('git', ['push', '--delete', 'origin', tag], { cwd: clonePath});
}
});
}
Expand Down

0 comments on commit 1d45715

Please sign in to comment.