File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
16
16
LANGUAGES ,
17
17
MAIN_BRANCH ,
18
18
gitBranchExists ,
19
+ CI ,
19
20
} from '../common' ;
20
21
import {
21
22
getClientsConfigField ,
@@ -206,10 +207,13 @@ export async function updateAPIVersions(
206
207
After that, we generate clients with new versions. And then, we copy all of them over to JS repository.
207
208
*/
208
209
if ( lang === 'javascript' ) {
209
- await run ( `yarn release:bump ${ releaseType } ` , {
210
- verbose : true ,
211
- cwd : getLanguageFolder ( lang ) ,
212
- } ) ;
210
+ const cwd = getLanguageFolder ( lang ) ;
211
+
212
+ if ( CI ) {
213
+ await run ( 'yarn install' , { verbose : true , cwd } ) ;
214
+ }
215
+
216
+ await run ( `yarn release:bump ${ releaseType } ` , { verbose : true , cwd } ) ;
213
217
}
214
218
215
219
await updateChangelog ( {
You can’t perform that action at this time.
0 commit comments