We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1de87a commit 1a929f3Copy full SHA for 1a929f3
src/git-utils.ts
@@ -35,9 +35,11 @@ export const pushTags = async () => {
35
])
36
// Separate the tags into a list
37
const tagList = tags.split('\n')
38
- // Push the tags individually to the remote
39
- for (const tag of tagList) {
40
- await exec('git', ['push', 'origin', tag])
+ if (tagList.length > 0) {
+ // Push the tags individually to the remote
+ for (const tag of tagList) {
41
+ await exec('git', ['push', 'origin', tag])
42
+ }
43
}
44
45
0 commit comments