@@ -22,6 +22,7 @@ test('npm version from-git with a valid tag creates a new commit', function (t)
22
22
23
23
function runVersion ( er ) {
24
24
t . ifError ( er , 'git tag ran without error' )
25
+ npm . config . set ( 'sign-git-commit' , false )
25
26
npm . config . set ( 'sign-git-tag' , false )
26
27
npm . commands . version ( [ 'from-git' ] , checkVersion )
27
28
}
@@ -51,6 +52,7 @@ test('npm version from-git with a valid tag updates the package.json version', f
51
52
52
53
function runVersion ( er ) {
53
54
t . ifError ( er , 'git tag ran without error' )
55
+ npm . config . set ( 'sign-git-commit' , false )
54
56
npm . config . set ( 'sign-git-tag' , false )
55
57
npm . commands . version ( [ 'from-git' ] , checkManifest )
56
58
}
@@ -75,6 +77,7 @@ test('npm version from-git strips tag-version-prefix', function (t) {
75
77
76
78
function runVersion ( er ) {
77
79
t . ifError ( er , 'git tag ran without error' )
80
+ npm . config . set ( 'sign-git-commit' , false )
78
81
npm . config . set ( 'sign-git-tag' , false )
79
82
npm . config . set ( 'tag-version-prefix' , prefix )
80
83
npm . commands . version ( [ 'from-git' ] , checkVersion )
@@ -107,6 +110,7 @@ test('npm version from-git only strips tag-version-prefix if it is a prefix', fu
107
110
108
111
function runVersion ( er ) {
109
112
t . ifError ( er , 'git tag ran without error' )
113
+ npm . config . set ( 'sign-git-commit' , false )
110
114
npm . config . set ( 'sign-git-tag' , false )
111
115
npm . config . set ( 'tag-version-prefix' , prefix )
112
116
npm . commands . version ( [ 'from-git' ] , checkVersion )
@@ -137,6 +141,7 @@ test('npm version from-git with an existing version', function (t) {
137
141
138
142
function runVersion ( er ) {
139
143
t . ifError ( er , 'git tag ran without error' )
144
+ npm . config . set ( 'sign-git-commit' , false )
140
145
npm . config . set ( 'sign-git-tag' , false )
141
146
npm . commands . version ( [ 'from-git' ] , checkVersion )
142
147
}
@@ -154,6 +159,7 @@ test('npm version from-git with an invalid version tag', function (t) {
154
159
155
160
function runVersion ( er ) {
156
161
t . ifError ( er , 'git tag ran without error' )
162
+ npm . config . set ( 'sign-git-commit' , false )
157
163
npm . config . set ( 'sign-git-tag' , false )
158
164
npm . commands . version ( [ 'from-git' ] , checkVersion )
159
165
}
@@ -170,6 +176,7 @@ test('npm version from-git without any versions', function (t) {
170
176
171
177
function runVersion ( er ) {
172
178
t . ifError ( er , 'created git repo without errors' )
179
+ npm . config . set ( 'sign-git-commit' , false )
173
180
npm . config . set ( 'sign-git-tag' , false )
174
181
npm . commands . version ( [ 'from-git' ] , checkVersion )
175
182
}
0 commit comments