@@ -93,7 +93,7 @@ describe('pushing tags', function () {
93
93
'-m' ,
94
94
`v${ mongoshVersion } ` ,
95
95
] ) ;
96
- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
96
+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
97
97
} ) ;
98
98
99
99
it ( 'pushes only package tags when using auxiliary packages' , function ( ) {
@@ -134,7 +134,7 @@ describe('pushing tags', function () {
134
134
'-m' ,
135
135
`v${ mongoshVersion } ` ,
136
136
] ) ;
137
- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
137
+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
138
138
} ) ;
139
139
140
140
it ( 'skips pushing version tags which already exist' , function ( ) {
@@ -191,7 +191,7 @@ describe('pushing tags', function () {
191
191
'-m' ,
192
192
`v${ mongoshVersion } ` ,
193
193
] ) ;
194
- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
194
+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
195
195
} ) ;
196
196
197
197
it ( 'skips mongosh release tag push if it exists' , function ( ) {
@@ -214,7 +214,7 @@ describe('pushing tags', function () {
214
214
'-m' ,
215
215
`v${ mongoshVersion } ` ,
216
216
] ) ;
217
- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
217
+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
218
218
} ) ;
219
219
220
220
it ( 'skips tag push if it is a dry run' , function ( ) {
@@ -238,7 +238,7 @@ describe('pushing tags', function () {
238
238
`v${ mongoshVersion } ` ,
239
239
] ) ;
240
240
241
- expect ( spawnSync ) . not . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
241
+ expect ( spawnSync ) . not . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
242
242
} ) ;
243
243
} ) ;
244
244
} ) ;
0 commit comments