@@ -93,7 +93,7 @@ describe('pushing tags', function () {
9393 '-m' ,
9494 `v${ mongoshVersion } ` ,
9595 ] ) ;
96- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
96+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
9797 } ) ;
9898
9999 it ( 'pushes only package tags when using auxiliary packages' , function ( ) {
@@ -134,7 +134,7 @@ describe('pushing tags', function () {
134134 '-m' ,
135135 `v${ mongoshVersion } ` ,
136136 ] ) ;
137- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
137+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
138138 } ) ;
139139
140140 it ( 'skips pushing version tags which already exist' , function ( ) {
@@ -191,7 +191,7 @@ describe('pushing tags', function () {
191191 '-m' ,
192192 `v${ mongoshVersion } ` ,
193193 ] ) ;
194- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
194+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
195195 } ) ;
196196
197197 it ( 'skips mongosh release tag push if it exists' , function ( ) {
@@ -214,7 +214,7 @@ describe('pushing tags', function () {
214214 '-m' ,
215215 `v${ mongoshVersion } ` ,
216216 ] ) ;
217- expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
217+ expect ( spawnSync ) . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
218218 } ) ;
219219
220220 it ( 'skips tag push if it is a dry run' , function ( ) {
@@ -238,7 +238,7 @@ describe('pushing tags', function () {
238238 `v${ mongoshVersion } ` ,
239239 ] ) ;
240240
241- expect ( spawnSync ) . not . calledWith ( 'git' , [ 'push' , '--follow- tags' ] ) ;
241+ expect ( spawnSync ) . not . calledWith ( 'git' , [ 'push' , '--tags' ] ) ;
242242 } ) ;
243243 } ) ;
244244} ) ;
0 commit comments