diff --git a/main.js b/main.js index e3551ea..7e2746e 100644 --- a/main.js +++ b/main.js @@ -32,7 +32,7 @@ async function main() { const file = path.join(sourceDirectory, "debian/changelog") const changelog = await firstline(file) - const regex = /^(?.+) \((?[^:-]+)?:?(?[^:-]+)-?(?[^:-]+)?\) (?.+);/ + const regex = /^(?.+) \((?[0-9]+)?:?(?[^:-]+)-?(?[^:-]+)?\) (?.+);/ const match = changelog.match(regex) const { package, epoch, version, revision, distribution } = match.groups const os = await getOS(getDistribution(distribution))