Skip to content

Commit 65e1f78

Browse files
committed
[HOTFIX] 🔥 Fix the changelog extraction process.
1 parent 1280440 commit 65e1f78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/default.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
//------------------------------------------------------------------------------
77

8-
GENERIC_VERSION_REGEX = /^### \[v(\d+\.)+\d\].*/
8+
GENERIC_VERSION_REGEX = /^## \[(\d+\.)+\d\].*/
99

1010
def buildAll(stageDir, platform, ciVersionSuffix, py36VenvCmd, py35VenvCmd, extraEnv) {
1111
dumpInfo()
@@ -148,7 +148,7 @@ def getChangelogPartForVersion(final version, final changelogPath = 'CHANGELOG.m
148148
def changelogLines = readFile(changelogPath).readLines()
149149

150150
def startIndex = changelogLines.findIndexOf {
151-
it ==~ /^### \[v${version}\].*/
151+
it ==~ /^## \[${version}\].*/
152152
}
153153
if (startIndex == -1) {
154154
error 'Cannot find Changelog for this version'

0 commit comments

Comments
 (0)