You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/package/release.js
+8-14Lines changed: 8 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,14 @@ export default class Publish {
230
230
231
231
console.log();
232
232
233
+
// update documentation
234
+
res=awaitthis.#updateDocs();
235
+
if(!res.ok)returnres;
236
+
237
+
// update changelog
238
+
res=awaitthis.#updateChangelog();
239
+
if(!res.ok)returnres;
240
+
233
241
// prepare release branch
234
242
if(this.#originalBranch ){
235
243
@@ -240,16 +248,12 @@ export default class Publish {
240
248
241
249
res=awaitthis.#execGitCommand(`Merging the branch "${this.#originalBranch }" to the branch "${this.#previousReleaseBranch }"`,["merge","--no-edit","--quiet","--ff-only",this.#originalBranch ],{"repeatOnError": false});
242
250
if(!res.ok)returnres;
243
-
244
-
console.log();
245
251
}
246
252
247
253
// create release branch, if HEAD has no release branch
res=awaitthis.#execGitCommand(`Creating and switching to the branch "${this.#previousReleaseBranch }"`,["switch","--create",this.#previousReleaseBranch ],{"repeatOnError": false});
250
256
if(!res.ok)returnres;
251
-
252
-
console.log();
253
257
}
254
258
}
255
259
@@ -276,18 +280,8 @@ export default class Publish {
0 commit comments