aboutsummaryrefslogtreecommitdiff
path: root/contrib/bump-taler-version.mjs
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-08-27 00:16:01 +0200
committerFlorian Dold <florian@dold.me>2024-08-27 00:16:01 +0200
commit4342da2b978e7e0f819b3648a98d355221eaebd9 (patch)
treebaaa118f02cee0ee2e7ce4a4f9d33d746e9e0f23 /contrib/bump-taler-version.mjs
parentb24e8a48764c907455ab82cc92b8da811a9006bb (diff)
version 0.12.14-dev.1v0.12.14-dev.1
Diffstat (limited to 'contrib/bump-taler-version.mjs')
-rwxr-xr-xcontrib/bump-taler-version.mjs5
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}`,
"",