File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ async function updateVersionForJavascript(
72
72
Object . values ( GENERATORS )
73
73
. filter ( ( gen ) => gen . language === 'javascript' )
74
74
. forEach ( ( gen ) => {
75
- const additionalProperties = gen . additionalProperties ! ;
75
+ const additionalProperties = gen . additionalProperties ;
76
76
const newVersion = semver . inc (
77
77
additionalProperties . packageVersion ,
78
78
jsVersion . releaseType
@@ -101,6 +101,10 @@ async function updateVersionForJavascript(
101
101
browserPgPackageFile . dependencies [ additionalProperties . packageName ] =
102
102
newVersion ;
103
103
}
104
+
105
+ // We don't want this field to be in the final file, it only exists
106
+ // in the scripts.
107
+ additionalProperties . packageName = undefined ;
104
108
} ) ;
105
109
106
110
CLIENTS_JS_UTILS . forEach ( ( util ) => {
@@ -275,7 +279,7 @@ export async function updateAPIVersions(
275
279
276
280
console . log ( `Pushing updated changes to ${ headBranch } ` ) ;
277
281
const commitMessage = generationCommitText . commitPrepareReleaseMessage ;
278
- await run ( ` git add clients config` , { verbose : true } ) ;
282
+ await run ( ' git add .' , { verbose : true } ) ;
279
283
if ( process . env . LOCAL_TEST_DEV ) {
280
284
await run ( `CI=true git commit -m "${ commitMessage } [skip ci]"` , {
281
285
verbose : true ,
You can’t perform that action at this time.
0 commit comments