diff options
Diffstat (limited to 'contrib/bump-taler-version.mjs')
-rwxr-xr-x | contrib/bump-taler-version.mjs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/bump-taler-version.mjs b/contrib/bump-taler-version.mjs index 3a57bd01d..10e7c85a2 100755 --- a/contrib/bump-taler-version.mjs +++ b/contrib/bump-taler-version.mjs @@ -96,14 +96,15 @@ for (const deb of debs) { const m = s.match(re); const version = m[1]; let pfx = ""; - if (version != requestedVersion) { + const debVersion = requestedVersion.replace("-", "~") + if (version != debVersion) { pfx = "[!] "; if (!dry) { const dateStr = child_process.execSync("date -R", { encoding: "utf-8", }); const entryLines = [ - `${deb} (${requestedVersion}) unstable; urgency=low`, + `${deb} (${debVersion}) unstable; urgency=low`, "", ` * Release ${requestedVersion}`, "", |