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 5737032 commit b800744Copy full SHA for b800744
packages/build/src/npm-packages/publish.ts
@@ -111,6 +111,17 @@ export class PackagePublisher {
111
if (!mongoshVersion) {
112
throw new Error('mongosh package not found');
113
}
114
+
115
+ if (!this.config.isDryRun) {
116
+ // Push the tag separately for mongosh to trigger the merge-release-tag.yml workflow
117
+ // Since GitHub Actions only runs create tag workflows when no more than 3 tags are created.
118
+ // https://docs.github.com/en/actions/reference/events-that-trigger-workflows#create
119
+ this.spawnSync(
120
+ 'git',
121
+ ['push', 'origin', `refs/tags/mongosh@${mongoshVersion}`],
122
+ commandOptions
123
+ );
124
+ }
125
126
127
if (!this.config.isDryRun) {
0 commit comments