Skip to content

Commit bd35da0

Browse files
committed
chore(ci): remove unneeded version tag
When we releasing we try to push a tag to `vx.x.x`. This does not fit in our current flow where this is the tag which triggered the release job in the first place, so this tag will always already exist and not get created.
1 parent d5d554e commit bd35da0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/build/src/npm-packages/publish.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,6 @@ export class PackagePublisher {
111111
if (!mongoshVersion) {
112112
throw new Error('mongosh package not found');
113113
}
114-
115-
const newVersionTag = `v${mongoshVersion}`;
116-
117-
if (!this.existsTag(newVersionTag)) {
118-
console.info(`Creating v${mongoshVersion} tag...`);
119-
this.spawnSync(
120-
'git',
121-
['tag', '-a', newVersionTag, '-m', newVersionTag],
122-
commandOptions
123-
);
124-
} else {
125-
console.warn(`${newVersionTag} tag already exists. Skipping...`);
126-
}
127114
}
128115

129116
if (!this.config.isDryRun) {

0 commit comments

Comments
 (0)