From 0e97a178e36ceb2c84437cbdc401a94fa7143457 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Jul 2023 12:30:27 +0100 Subject: [PATCH] Fix regex not handling rc versions --- .github/workflows/update-topics.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-topics.yaml b/.github/workflows/update-topics.yaml index 374928f692..fe34e04bcb 100644 --- a/.github/workflows/update-topics.yaml +++ b/.github/workflows/update-topics.yaml @@ -43,7 +43,7 @@ jobs: const releaseTopic = `Stable: ${data.tag_name} | ${RELEASE_STATUS}`; console.log("Release topic: " + releaseTopic); - const regex = /Stable: v(\d+.\d+.\d+) \| Release status: (\w+) expected (\w+ \d+\w+)/gm; + const regex = /Stable: v(.+) \| Release status: (\w+) expected (\w+ \d+\w\w)gm; async function updateReleaseInTopic(roomId) { const apiUrl = `${HS_URL}/_matrix/client/v3/rooms/${roomId}/state/m.room.topic/`;