Skip to content

Commit 1d45715

Browse files
authored
Merge pull request #7 from Davidmattei/fix/fatal-delete-tag
fix: delete tag not pushing
2 parents d0f196c + 8f6c235 commit 1d45715

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async function promiseAllInBatches(subtreeSplits: subtreeSplit[], batchSize: num
133133
await exec('git', ['clone', split.target, '.'], { cwd: clonePath});
134134

135135
if (await tagExists(tag, clonePath)) {
136-
await exec('git', ['push', '--delete', tag], { cwd: clonePath});
136+
await exec('git', ['push', '--delete', 'origin', tag], { cwd: clonePath});
137137
}
138138
});
139139
}

0 commit comments

Comments
 (0)