Skip to content

Commit f737795

Browse files
committed
Fix in-product changelog
1 parent 67758d1 commit f737795

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/releaseNotes.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class ReleaseNotes extends Disposable {
8383
const info = parseInfo(md);
8484

8585
const content = md
86-
.replace(/---.*?---/gms, '')
86+
.replace(/^---.*?---/gms, '')
8787
.replace(/<script>.*?<\/script>/gms, '')
8888
.replace(/<Badge.*?text="(.*?)".*?\/>/gim, '`$1`')
8989
.replace(/<Contributors usernames="(.*?)" \/>/gim, (_, p1) => {
@@ -139,8 +139,9 @@ export class ReleaseNotes extends Disposable {
139139
const releaseId = await this.getLastPublish();
140140
console.log(`gitpod release notes lastReadId: ${lastReadId}, latestReleaseId: ${releaseId}`);
141141
if (releaseId !== lastReadId) {
142-
this.createOrShow();
142+
// this.createOrShow();
143143
}
144+
this.createOrShow();
144145
}
145146

146147
public createOrShow() {

0 commit comments

Comments
 (0)